Design Pattern Playground Simulation
Add payment methods, discounts and order states to ShopFlow with and without patterns; count the classes you had to edit. About 10 minutes.
Add payment methods, discounts and order states to ShopFlow with and without patterns; count the classes you had to edit.
Simulation 18 · Design · about 10 minutes
What you can do
- Add a payment method
- Stack decorators
- Advance order state
- Toggle pattern on/off
Related
- Strategy: Pluggable Payment Methods — Level 4 · Design Patterns
- Decorator: Adding Behaviour Without Touching the Core — Level 4 · Design Patterns
- State: An Order Lifecycle Without the Giant Switch — Level 4 · Design Patterns
- Observer: Reacting to Order Events — Level 4 · Design Patterns
- Architecture Lab — Lab