These are personal notes and example code for the GOF Patterns. Motivated by our #engineering-cell study group at ilegra (Think Beyond!).
We are commited to coding examples in Java, but I'm not a Java programmer, so expect the worse from the example code. Sometime in the future I plan to compile it and run, and also provide some JS specific code and analysis, but that's a big @TODO.
Also, this is an on-going effort, following the study group's schedule. I will update the index as the repo evolves.
Creational Patterns 👷 | Readme | Analysis | Example | Review |
---|---|---|---|---|
Abstract Factory | 📖 | 🔍 | ||
Builder | 📖 | 🔍 | 💻 | |
Factory Method | 📖 | 🔍 | 💻 | |
Prototype | 📖 | 🔍 | 💻 | |
Singleton | 📖 | 🔍 | 💻 |
Structural Patterns 📐 | Readme | Analysis | Example | Review |
---|---|---|---|---|
Adapter | 📖 | |||
Bridge | 📖 | |||
Composite | 📖 | |||
Decorator | 📖 | |||
Facade | 📖 | |||
Flyweight | 📖 | |||
Proxy | 📖 | 🔍 |
Behavioral Patterns 🚥 | Readme | Analysis | Example | Review |
---|---|---|---|---|
Chain of Responsibility | 📖 | |||
Command | 📖 | |||
Interpreter | 📖 | |||
Iterator | 📖 | |||
Mediator | 📖 | |||
Memento | 📖 | |||
Observer | 📖 | |||
State | 📖 | |||
Strategy | 📖 | |||
Template Method | 📖 | |||
Visitor | 📖 |
Non-GOF Patterns 👽 | Readme | Analysis | Example | Review |
---|---|---|---|---|
Object Pool (Creational) | 📖 | 🔍 | 💻 |