In this repository I am going to implement some of the most important GoF design patterns. following the greaaaat book, site and examples of Alexander Shvets and using as initial repository a forked copy of: Adonis Murati.
A design pattern is a reusable solution to a recurring problem.
When talking about design patterns we usually refer to the 'classical' ones which include Creational, Structural and Behavioral design patterns.
The following have been implemented in this repo:
Creational | Structural | Behavioral |
---|---|---|
Factory-method | ||
Factory | Proxy | Observer |
Singleton | Adapter | Strategy |
Builder | Decorator | Iterator |
Prototype |
Other resources to learn about Design Patterns:
- Node.js Design Patterns - Second Edition [Mario Casciaro, Luciano Mammino]
- Design patterns : elements of reusable object-oriented software [Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm]
- Head First Design Patterns [Elisabeth Freeman and Kathy Sierra]