Design Patterns
  • Introduction
  • Proto-Pattern
  • Anti-pattern
  • OO Design Principles
  • Classification
  • Creational Design Patterns
    • Singleton
    • Factory
    • Abstract Factory
    • Builder
    • Prototype
  • Structural design patterns
    • Adapter
    • Bridge
    • Composite
    • Decorator
    • Facade
    • Flyweight
    • Proxy
  • Behavioural Design Pattern
    • Chain of Responsibility
    • Command
    • Interpreter
    • Iterator
    • Mediator
    • Memento
    • Observer
    • State
    • Strategy
    • Template Method
    • Visitor
  • Concurrency Design Pattern
  • Architectural Design Pattern
  • Modern Desing Patterns
Powered by GitBook
On this page

Was this helpful?

Classification

Classic Design Patterns:

The 23 Gang of Four (GoF) patterns ( defined by four authors – Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides) are generally considered the foundation for all other patterns. They are categorized in three groups:

  1. Creational design patterns

  2. Structural design patterns

  3. Behavioral design patterns

Other Design Patterns:

  1. Concurrency design patterns

  2. Architectural design patterns

Each of the design pattern represents a specific type of solution for specific type of problem. There is no universal set of patterns that always the best fit. We need to learn when the the particular pattern will provide solution to the problem.

Note:

Applying wrong pattern to a given problem leads to code complexity , performance issues and also lead to anti-pattern.

PreviousOO Design PrinciplesNextCreational Design Patterns

Last updated 5 years ago

Was this helpful?