WikiWIKI Graph
Wiki
Reference handbooks — evergreen content updated continuously
Browse Documents
5 documentsGoF
Documents
- Abstract Factory PatternCreate related products as a family instead of repeating concrete implementation choices in every screen.Patternspath:Patterns/GoF/Creational
- Builder PatternSeparate a sequence of construction steps from the representation those steps produce.Patternspath:Patterns/GoF/Creational
- Factory Method PatternKeep a shared workflow while subclasses decide which concrete object it creates and uses.Patternspath:Patterns/GoF/Creational
- Prototype PatternCreate objects from configured prototypes with an explicit policy for copied and shared state.Patternspath:Patterns/GoF/Creational
- Singleton PatternControl construction and expose a shared instance, with explicit limits on what single means.Patternspath:Patterns/GoF/Creational
Recently Updated
- C++ IdiomsC++ Idioms
- Mediator PatternCollect interaction rules in a mediator so collaborating objects do not depend directly on each other.
- Memento PatternKeep an opaque state snapshot so the original object can restore itself without exposing its internals to history management.
- Flyweight PatternShare repeated immutable state while keeping per-use data such as position separate.
- Composite PatternTreat an individual item and a group of items through the same component contract.
- Interpreter PatternRepresent a small language as expression objects that evaluate their own meaning.
- Visitor PatternAdd operations as visitor objects when the kinds of elements in a structure are relatively stable.
- Chain of Responsibility PatternPass a request along handlers until one accepts it, with an explicit unhandled result.