资源描述:
《[Griffon.in.Action(2012.6)].Andres.Almiray.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、AndresAlmirayDannoFerrinJamesShinglerFOREWORDBYDierkKönigMANNINGGriffoninActionGriffoninActionANDRESALMIRAYDANNOFERRINJAMESSHINGLERMANNINGSHELTERISLANDForonlineinformationandorderingofthisandotherManningbooks,pleasevisitwww.manning.com.Thepublisheroffersdiscountsonthisbookwhen
2、orderedinquantity.Formoreinformation,pleasecontactSpecialSalesDepartmentManningPublicationsCo.20BaldwinRoadPOBox261ShelterIsland,NY11964Email:orders@manning.com©2012byManningPublicationsCo.Allrightsreserved.Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortran
3、smitted,inanyformorbymeanselectronic,mechanical,photocopying,orotherwise,withoutpriorwrittenpermissionofthepublisher.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthebook,andManningPublicationsw
4、asawareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsorallcaps.Recognizingtheimportanceofpreservingwhathasbeenwritten,itisManning’spolicytohavethebookswepublishprintedonacid-freepaper,andweexertourbesteffortstothatend.Recognizingalsoourresponsibilitytoconserveth
5、eresourcesofourplanet,Manningbooksareprintedonpaperthatisatleast15percentrecycledandprocessedwithouttheuseofelementalchlorine.ManningPublicationsCo.Developmenteditor:CynthiaKane20BaldwinRoadTechnicalproofreader:AlSchererPOBox261Copyeditors:TiffanyTaylor,AndyCarrollShelterIslan
6、d,NY11964Proofreader:MelodyDolabTypesetter:DennisDalinnikCoverdesigner:MarijaTudorISBN:9781935182238PrintedintheUnitedStatesofAmerica12345678910–MAL–18171615141312briefcontentsPART1GETTINGSTARTED........................................................11■WelcometotheGriffonrevo
7、lution32■AcloserlookatGriffon36PART2ESSENTIALGRIFFON....................................................573■Modelsandbinding594■Creatingaview925■Understandingcontrollersandservices1176■UnderstandingMVCgroups1387■Multithreadedapplications1608■Listeningtonotifications1919■Testin
8、gyourapplication21110■Shipit!24211■Workingwithplugins25812■En