Design Patterns Applied
Examine the four design patterns powering the Online Shopping System — Strategy for payments, Observer for notifications, State for order lifecycle, and Factory for product creation — with before/after code and rigorous justification.