Software Architecture & Engineering
55 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Strategy Patternhistorical
Encapsulating interchangeable algorithms or policies behind a common contract.
- Observer Patternhistorical
Notifying registered observers about subject changes and managing coupling, ordering, and lifecycle.
- Decorator Patternhistorical
Adding composable behavior around an object without changing the wrapped implementation.
- Chain of Responsibilityhistorical
Passing a request through an ordered pipeline of handlers that may process, enrich, reject, or forward it.
- Adapter Patternhistorical
Translating one interface/protocol/data model into the contract expected by a client.