Design Patterns: From Analysis to Implementation by
This is an excerpt from the manuals for Design Patterns Explained: A New Perspective for Object-Oriented Design Not all of the Gang of Four design patterns are included because not all of them are covered in the course. Furthermore, we use a variation on the classification of the GoF patterns:
The Decorator and Proxy patterns are classified as Structural patterns by the GoF. Since they both add instead of just combining functionality, I believe they are more behavioral in nature. In our minds, the Bridge can be considered as either a Structural or Behavioral pattern. As a structural pattern, it allows the use of two different, given, implementation in the same way. As a behaviorally pattern, it helps identify that there are variations of an implementation. We have also reclassified several Behavioral patterns as Decoupling patterns (a new classification of ours). That is because these patterns are more about decoupling than about managing new behavior.
This is a work in progress. Updates will be announced through our e-zine. You can subscribe to this by sending a message to info@netobjectives.com and putting subscribe in the subject. Contents: Abstract Factory* Builder Factory Method* Object Pool* Prototype Singleton* Adapter* Bridge* Composite* Façade* Proxy – Virtual* Decorator* Proxy – adding function* State* Strategy* Template Method* Visitor Chain of Responsibility* Iterator* Mediator* Memento Observer* Proxy – accessibility* Model-View-Controller
* Along with the Analysis Matrix, these are considered minimal competencies for software developers by Net Objectives
© 2007 Net Objectives, Inc. All Rights Reserved
1
Design Pattern Matrix
CREATIONAL PATTERNS Notes on the patterns A b s t r a c t B u i l d e r F a c t o r y O b j e c t P r o t o t y p e S i n g l e t o n F a c t o r y
Indicators in analysis: Different cases exist that require different implementations