Tag: design-patterns Basic
This content is a draft and will not be included in production builds.
5 articles tagged design-patterns:
- Adapter pattern: integrating a legacy payment gateway without dragging its API into checkout
- Decorator pattern: adding cache, metrics and retry around a client, and why the order changes the numbers
- Matching: pick a design pattern for each situation
- Observer and domain events: what OrderPaid guarantees when it fires in-process, and when you need an outbox
- Strategy pattern: changing rules without stuffing more branches into checkout