In module 4.1 you looked at the Kladde from the outside: its building blocks, its quality goals, the first decisions and the C4 model. In this module you look at what it exists for: the work of the IT office. Only when you understand that work can you decide where the boundaries in the system run. This work is called strategic domain-driven design (DDD). You build the models inside those boundaries in module 4.3.
| Lesson | What comes out of it |
|---|---|
| 4.2.1 Understanding the domain | docs/glossary.md and a script that checks it against the code |
| 4.2.2 Event storming: the big picture | docs/event-storming/big-picture.md |
| 4.2.3 Event storming: processes in detail | the course of a quote, the candidates Quote and Deal |
| 4.2.4 Finding bounded contexts | docs/contexts.md with six contexts |
| 4.2.5 Context maps | docs/context-map.md with a diagram |
| 4.2.6 Who owns the data | every table assigned to a context, personal data marked |
In this module you write almost no code. You write documents that live in the same repository as the code and grow with it in the same pull request. That is on purpose: a wrong boundary costs far more later than any single class.
What you bring from module 4.1
After K3, the Kladde is a web application in Azure. It manages contacts and companies, accepts public appointment bookings, imports tenders from TED through Service Bus and signs the staff in with Entra ID. Module 4.1 produced these files:
docs/architecture.mdwith the inventory,docs/quality-goals.mdwith the quality scenarios, among them “several offices in one Kladde”,docs/adr/with the first architecture decisions,docs/c4-model.mdwith a context diagram and a container diagram,docs/cost.mdwith an estimate, a measurement and the metric “cost per office”.
The inventory describes what the Kladde is. In K4 it is meant to do more: the office wants to keep its quotes and its sales opportunities in the Kladde instead of in spreadsheets and emails. Before you build anything for that, find out how the office works today and how it talks about its work.