Design Patterns Landscape
2 min read
Lesson slides
1 / 17
Total Pattern Count
The original "Gang of Four" (GoF) book documented 23 fundamental design patterns, but the pattern community has identified many more:
Pattern Categories Beyond GoF
graph TB
A[Design Patterns Universe] --> B[GoF Patterns - 23]
A --> C[Enterprise Patterns]
A --> D[Concurrency Patterns]
A --> E[Architectural Patterns]
A --> F[Domain-Specific Patterns]
B --> B1[Creational - 5]
B --> B2[Structural - 7]
B --> B3[Behavioral - 11]
C --> C1[MVC, MVP, MVVM]
C --> C2[Repository, Unit of Work]
C --> C3[Data Transfer Object]
D --> D1[Producer-Consumer]
D --> D2[Thread Pool]
D --> D3[Lock Patterns]
E --> E1[Layered Architecture]
E --> E2[Microservices]
E --> E3[Event-Driven]
F --> F1[Game Patterns]
F --> F2[Web Patterns]
F --> F3[Mobile Patterns]Complete GoF Pattern List
| Category | Pattern | Frequency of Use | Complexity |
|---|---|---|---|
| Creational (5) | Singleton | ⭐⭐⭐⭐⭐ | Low |
| Factory Method | ⭐⭐⭐⭐⭐ | Medium | |
| Abstract Factory | ⭐⭐⭐ | High | |
| Builder | ⭐⭐⭐⭐ | Medium | |
| Prototype | ⭐⭐ | Medium | |
| Structural (7) | Adapter | ⭐⭐⭐⭐⭐ | Low |
| Bridge | ⭐⭐ | High | |
| Composite | ⭐⭐⭐ | Medium | |
| Decorator | ⭐⭐⭐⭐ | Medium | |
| Facade | ⭐⭐⭐⭐⭐ | Low | |
| Flyweight | ⭐⭐ | High | |
| Proxy | ⭐⭐⭐ | Medium | |
| Behavioral (11) | Observer | ⭐⭐⭐⭐⭐ | Medium |
| Strategy | ⭐⭐⭐⭐⭐ | Low | |
| Command | ⭐⭐⭐⭐ | Medium | |
| State | ⭐⭐⭐ | Medium | |
| Template Method | ⭐⭐⭐ | Low | |
| Chain of Responsibility | ⭐⭐ | Medium | |
| Iterator | ⭐⭐⭐⭐ | Low | |
| Mediator | ⭐⭐ | High | |
| Memento | ⭐⭐ | Medium | |
| Visitor | ⭐ | High | |
| Interpreter | ⭐ | High |