Friday, September 16, 2011

Gang of Four (GOF) Design Patterns

The Gang of four (GOF) patterns are categorized into three main categories:

  • Creational:- Deals with the creation of objects. Following are the creational patterns:
  1. Factory
  2. Abstract Factory
  3. Factory Method
  4. Builder
  5. Prototype
  6. Singleton

  • Structural:- Deals with the relationships between portion of your application. Followings are the Structural patterns:
  1. Adapter
  2. Bridge
  3. Composite
  4. Decorator
  5. Facade
  6. Flyweight
  7. Proxy

  • Behavioural:- Deals with the state and behaviour flow through the system. Followings are the behavioural patterns:
  1. Chain of Responsibility
  2. Command
  3. Interpreter
  4. Iterator
  5. Mediator
  6. Memento
  7. Observer
  8. State
  9. Strategy
  10. Template Method
  11. Visitor

No comments: