资源描述:
《毕业论文外文文献及翻译》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、毕业设计说明书英文文献及中文翻译梁卓越102101063310210A02班级:学号:姓名:软件工程(软件开发与测试)学院:软件学院韩涛常旭青专业:指导教师:2014年6月英文文献出自《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