Design patterns can be broken down into a number of different categories. Three of these categories are:
- Creational Design Patterns - focuses on handling object creation mechanisms. Examples are Constructor, Factory, Abstract, Prototype, Singleton and Builder.
- Structural Design Patterns - concerned with object composition and typically identify simple ways to realize relationships between different objects. Examples are Decorator, Facade, Flyweight, Adapter and Proxy.
- Behavioral Design Patterns - focuses on improving or streamlining the communication between disparate objects in a system. Examples are Iterator, Mediator, Observer and Visitor.
No comments:
Post a Comment