Skip to content
thesarfo

Reference

Design Patterns: Catalog

The three catalogs of design patterns — Creational, Structural, and Behavioral — and what each is for.

views 0

Design patterns are known solutions to complex requirements — examples of such requirements might be decoupling two objects. There are three catalogs of design patterns:

  1. Creational Patterns — provide various object creation mechanisms, which increase flexibility and reuse of existing code.
  2. Structural Patterns — explain how to assemble objects and classes into larger structures while keeping these structures flexible and efficient.
  3. Behavioral Patterns — concerned with algorithms and the assignment of responsibilities between objects.

Creational Patterns

  1. Factory Method
  2. Abstract Factory
  3. Builder
  4. Prototype
  5. Singleton

Structural Patterns

  1. Adapter Pattern
  2. Bridge
  3. Composite
  4. Decorator
  5. Facade
  6. Flyweight
  7. Proxy

Behavioral Patterns

  1. Chain of Responsibility
  2. Command
  3. Iterator
  4. Mediator
  5. Memento
  6. Observer
  7. State
  8. Strategy
  9. Template Method
  10. Visitor