Back to the grid of layers
Here are nine pieces of our shop’s code. Each row is a layer from lesson 4: screens (blue), rules (green), data (peach). Each column belongs to one feature: placing an order, paying, tracking a delivery.
Right now the frames go across: code is grouped by kind. The counter shows how it is grouped. Remember the pain from lesson 6: one feature is cut into three rows.
Diagram
A 3 × 3 grid of boxes. Three horizontal frames labelled Presentation, Business logic, Data access. Columns: Order form / Order rules / Save order; Pay page / Pay rules / Save payment; Track page / Delivery rules / Read delivery. Grouped by: kind of code.