资源描述:
《最新人事管理信息系统外文文献及翻译.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、__________________________________________________MVCDesignPatternMVCisawidelypopularsoftwaredesignpattern,asearlyasinthe70's,IBMintroducedtheSanfronscisicoontheproject,infact,istheMVCdesignpatternresearch.Recently,withthematurityofJ2EE,itisbecomingarecomm
2、endationintheJ2EEplatform,adesignmodel,themajorityofJavadevelopersarealsoveryinterestedinthedesignmodel.MVCmodelisgraduallydevelopedinPHPandColdFusionareinuse,andgrowthtrends.Withtherapidincreaseinwebapplications,MVCmodelforthedevelopmentofWebapplicationsi
3、saveryadvanceddesignidea,nomatterwhatlanguageyouchoose,nomatterhowcomplicatedtheapplication,itcanbeforyoutounderstandandprovidethemostbasicapplicationmodelanalyticalmethods,structuralproductsforyoutoprovideaclearframeworkforthedesign,foryoursoftwareproject
4、sinaccordancewithnorms.MVCdesignideaMVCinEnglishorModel-View-Controller,anapplicationthatisinput,process,outputprocessinaccordancewiththeModel,View,Controllerisolatedmanner,suchanapplicationisdividedintothreelayers-modellayer,viewlayer,controllayer.View(Vi
5、ew)onbehalfoftheuserinterfaceforWebapplicationscanbesummedupasHTMLinterface,buthasthepotentialtoXHTML,XML,andApplet.Withtheapplicationofthecomplexityandscale,theinterfacehasbecomechallengingtodealwith.Anapplicationmayhavedifferentviews,MVCdesignpatterntode
6、alwiththeviewofthelimitedviewofdataacquisitionandprocessing,aswellastheuser'srequest,notincludedintheviewonthehandlingofbusinessprocesses.Thehandlingofbusinessprocessestothemodel(Model)todealwith.Forexample,aviewonlyacceptordersfromthemodeldataanddisplayto
7、users,aswellasinputuserinterfacedataandtherequestpassedtothecontrolandmodel.Model(Model):isthebusinessprocess/statusoftheprocessingandbusinessrules.Businessprocesslayeristheotherblack-boxoperation,themodelviewtoaccepttherequestofthedata,andreturntheresults
8、ofthefinal.ThedesignofbusinessmodelscanbesaidtobethemostimportantcoreofMVC. CurrentlypopularmodelofEJBapplicationsisatypicalexampleoftheapplicationoftechnologyfromtheperspectiveofthemodelfurtherdelineationino