Structural Patterns
Structural design patterns deal with object composition, creating relationships between objects to form larger structures. They help ensure that when one part of a system changes, the entire structure doesn’t need to change.
Patterns in This Category
- Adapter — Convert the interface of a class into another interface clients expect
- Bridge — Decouple an abstraction from its implementation so that the two can vary independently
- Composite — Compose objects into tree structures to represent part-whole hierarchies
- Decorator — Attach additional responsibilities to an object dynamically
- Facade — Provide a unified interface to a set of interfaces in a subsystem
- Flyweight — Use sharing to support large numbers of fine-grained objects efficiently
- Proxy — Provide a surrogate or placeholder for another object to control access to it