Software Engineering Architecture Lab

Patterns Are Answers to Recurring Pain

How to read a pattern: problem, forces, solution, consequences. Lesson 1 of Level 4: Design Patterns. Based on Design Patterns.

Level 4 · Design Patterns · Lesson 1 of 13

How to read a pattern: problem, forces, solution, consequences.

Continue learning

All lessons in Design Patterns

  1. Patterns Are Answers to Recurring Pain
  2. Strategy: Pluggable Payment Methods
  3. Factory Method & Abstract Factory: Creating the Right Thing
  4. Builder, and Why Singleton Is Usually a Trap
  5. Adapter: Taming Third-Party Payment Gateways
  6. Decorator: Adding Behaviour Without Touching the Core
  7. Facade & Proxy: Simple Front Doors and Smart Stand-ins
  8. Observer: Reacting to Order Events
  9. Command: Refunds, Retries and Queued Work as Objects
  10. State: An Order Lifecycle Without the Giant Switch
  11. Template Method: One Checkout Skeleton, Many Variations
  12. Chain of Responsibility: Validation & Fraud Pipelines
  13. Composite, Bridge, Mediator, Iterator & Prototype