欢迎来到天天文库
浏览记录
ID:33705169
大小:621.06 KB
页数:14页
时间:2019-02-28
《The Design Pattern Matrix.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、DesignPatternMatrixDesignPatterns:FromAnalysistoImplementationbyThisisanexcerptfromthemanualsforDesignPatternsExplained:ANewPerspectiveforObject-OrientedDesignNotalloftheGangofFourdesignpatternsareincludedbecausenotallofthemarecoveredinthecourse.Furthermore,weuseavariationontheclassi
2、ficationoftheGoFpatterns:TheDecoratorandProxypatternsareclassifiedasStructuralpatternsbytheGoF.Sincetheybothaddinsteadofjustcombiningfunctionality,Ibelievetheyaremorebehavioralinnature.Inourminds,theBridgecanbeconsideredaseitheraStructuralorBehavioralpattern.Asastructuralpattern,ital
3、lowstheuseoftwodifferent,given,implementationinthesameway.Asabehaviorallypattern,ithelpsidentifythattherearevariationsofanimplementation.WehavealsoreclassifiedseveralBehavioralpatternsasDecouplingpatterns(anewclassificationofours).Thatisbecausethesepatternsaremoreaboutdecouplingthana
4、boutmanagingnewbehavior.Thisisaworkinprogress.Updateswillbeannouncedthroughoure-zine.Youcansubscribetothisbysendingamessagetoinfo@netobjectives.comandputtingsubscribeinthesubject.Contents:AbstractFactory*Composite*VisitorBuilderFaçade*ChainofResponsibility*FactoryMethod*Proxy–Virtual
5、*Iterator*ObjectPool*Decorator*Mediator*PrototypeProxy–addingfunction*MementoSingleton*State*Observer*Adapter*Strategy*Proxy–accessibility*Bridge*TemplateMethod*Model-View-Controller*AlongwiththeAnalysisMatrix,theseareconsideredminimalcompetenciesforsoftwaredevelopersbyNetObjectivesc
6、opyright©2006NetObjectivesDPE_DP_Matrix_v22a.doc1DesignPatternMatrixCREATIONALPATTERNSNotesonthepatternsAFIndicatorsinanalysis:Differentcasesexistthatrequiredifferentimplementationsofsetsofrules.baIndicatorsindesign:Manypolymorphicstructuresexistthatareusedinpre-definedcombinations.T
7、hesecombinationsarescdefinedbytherebeingparticularcasestoimplementordifferentneedsofclientobjects.ttIndicationpatternisnotbeingusedwhenitshouldbe:Avariableisusedinseveralplacestodeterminewhichobjecttoroinstantiate.arRelationshipsinvolved:TheAbstractFactoryobjectisresponsibleforcoordi
8、natingthefam
此文档下载收益归作者所有