欢迎来到天天文库
浏览记录
ID:40070766
大小:388.68 KB
页数:4页
时间:2019-07-19
《FrameWorks(Components patterns)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、HowframeworkscomparetootherFrameworks=object-orientedreusetechniques.(Components+Patterns)Frameworksareanobject-orientedreusetechnique.Theysharemanycharacteris-ticswithreusetechniquesingeneral[8],andobject-orientedreusetechniquesinparticular.Althoughtheyhavebeenusedsuccessfullyforsometim
2、e,andareanimpor-tantpartofthecultureoflong-timeobject-orienteddevelopers,theyarenotwellunder-stoodoutsidetheobject-orientedcommunityandareoftenmisused.Moreover,thereisconfusionaboutwhetherframeworksarelarge-scalepatterns,orwhethertheyarejustanotherkindofcomponent.Eventhedefinitionsoffram
3、eworksvary.Thedefi-nitionweusemostis“aframeworkisareusableRalphE.JohnsondesignofallorpartofasystemthatisrepresentedbyasetofabstractclassesandthewaytheirinstancesTheidealreusetechnologyprovidescomponentsinteract.”Anothercommondefinitionis“aframe-thatcanbeeasilyconnectedtomakeanewsystem.wo
4、rkistheskeletonofanapplicationthatcanbecus-Thesoftwaredeveloperdoesnothavetoknowhowtomizedbyanapplicationdeveloper.”Thesearenotthecomponentisimplemented,anditiseasyfortheconflictingdefinitions;thefirstdescribesthestruc-developertolearnhowtouseit.Theresultingsys-tureofaframeworkwhilethese
5、conddescribesitspur-temwillbeefficient,easytomaintain,andreliable.pose.Nevertheless,theypointoutthedifficultyofTheelectricpowersystemislikethat;youcanbuydefiningframeworksclearly.atoasterfromonestoreandatelevisionfromFrameworksareimportant,andcontinuallybecomeanother,andtheywillbothworka
6、teitheryourmoreimportant.SystemslikeOLE,OpenDoc,andhomeoroffice.MostpeopledonotknowOhm’sDSOMareframeworks;Javaisspreadingnewframe-Law,yettheyhavenotroubleconnectinganewworkslikeAWTandBeans.Mostcommerciallyavail-toastertothepowersystem.Unfortunately,softwareableframeworksseemtobefortechni
7、caldomainssuchisnotnearlyascomposableastheelectricpowerasuserinterfacesordistribution,andmostapplication-system.specificframeworksareproprietary.ButthesteadyriseTheoriginalvisionofsoftwarereusewasbasedonofframeworksmeanseverysoftwaredevelopershouldcomponents.Inthebeginnin
此文档下载收益归作者所有