資源描述:
《畢業(yè)論文外文文獻(xiàn)及翻譯》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、畢業(yè)設(shè)計(jì)說明書英文文獻(xiàn)及中文翻譯梁卓越102101063310210A02班級:學(xué)號:姓名:軟件工程(軟件開發(fā)與測試)學(xué)院:軟件學(xué)院韓濤常旭青專業(yè):指導(dǎo)教師:2014年6月英文文獻(xiàn)出自《IBMSystemJournal,2006,44(2):33-37》作者:MalcolmDavisStruts——AnOpen-sourceMVCImplementationThisarticleintroducesStruts,aModel-View-ControllerimplementationthatusesservletsandJavaSer
2、verPages(JSP)technology.StrutscanhelpyoucontrolchangeinyourWebprojectandpromotespecialization.EvenifyouneverimplementasystemwithStruts,youmaygetsomeideasforyourfutureservletsandJSPpageimplementationIntroductionKidsingradeschoolputHTMLpagesontheInternet.However,thereisam
3、onumentaldifferencebetweenagradeschoolpageandaprofessionallydevelopedWebsite.Thepagedesigner(orHTMLdeveloper)mustunderstandcolors,thecustomer,productflow,pagelayout,browsercompatibility,imagecreation,JavaScript,andmore.Puttingagreatlookingsitetogethertakesalotofwork,and
4、mostJavadevelopersaremoreinterestedincreatingagreatlookingobjectinterfacethanauserinterface.JavaServerPages(JSP)technologyprovidesthegluebetweenthepagedesignerandtheJavadeveloper.Ifyouhaveworkedonalarge-scaleWebapplication,youunderstandthetermchange.Model-View-Controlle
5、r(MVC)isadesignpatternputtogethertohelpcontrolchange.MVCdecouplesinterfacefrombusinesslogicanddata.StrutsisanMVCimplementationthatusesServlets2.2andJSP1.1tags,fromtheJ2EEspecifications,aspartoftheimplementation.YoumayneverimplementasystemwithStruts,butlookingatStrutsmay
6、giveyousomeideasonyourfutureServletsandJSPimplementations.Model-View-Controller(MVC)JSPtagssolvedonlypartofourproblem.Westillhaveissueswithvalidation,flowcontrol,andupdatingthestateoftheapplication.ThisiswhereMVCcomestotherescue.MVChelpsresolvesomeoftheissueswiththesing
7、lemoduleapproachbydividingtheproblemintothreecategories:·ModelThemodelcontainsthecoreoftheapplication'sfunctionality.Themodelencapsulatesthestateoftheapplication.Sometimestheonlyfunctionalityitcontainsisstate.Itknowsnothingaboutthevieworcontroller.·ViewTheviewprovidesth
8、epresentationofthemodel.Itisthelookoftheapplication.Theviewcanaccessthemodelgetters,butithasnoknowledgeofthese