Skip to lesson

Project: ShopLite order lifecycle

An order's life has many moving parts, and each behavioural pattern from this module owns one of them: commands change the cart, a chain decides whether checkout is accepted, states decide what may happen next, and a template prints the paperwork.

Sign in to continue this lesson

Create an account to read every lesson, practise with the exercises and keep track of your progress.