The Gang of four (GOF) patterns are categorized into three main categories:
- Creational:- Deals with the creation of objects. Following are the creational patterns:
- Factory
- Abstract Factory
- Factory Method
- Builder
- Prototype
- Singleton
- Structural:- Deals with the relationships between portion of your application. Followings are the Structural patterns:
- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy
- Behavioural:- Deals with the state and behaviour flow through the system. Followings are the behavioural patterns:
- Chain of Responsibility
- Command
- Interpreter
- Iterator
- Mediator
- Memento
- Observer
- State
- Strategy
- Template Method
- Visitor
No comments:
Post a Comment