DDD artifacts
The strategic and tactical design of the context in the shape of the
ddd-crew tools, plus the UML and ER views of the
built service. Every diagram names the code file it reflects in a Source: line.
Where code and an earlier design decision disagree, the page documents the code.
The yard domain's design model lives in warehouse-docs; these pages are the own-site, as-built version for this repository.
| Page | What it holds | Tool |
|---|---|---|
| Ubiquitous language | Yard, Yard Visit, Trailer, Spot, Dock Door, Hostler, Yard Move, Door Work, Dwell and the neighbour terms | glossary |
| Use cases | one section per command: trigger, adapter, flow, errors, events, idempotency | application layer |
| Subdomain classification | why Supporting, neighbours' classes | Core Domain Chart companion |
| Core domain chart | position on the chart and the evolution of each part | core-domain-charts |
| Bounded context canvas | purpose, classification, roles, every inbound and outbound message | bounded-context-canvas v5 |
| Context map | every neighbour with its pattern and channel | context-mapping |
| Aggregate design canvas | YardVisit, Trailer, YardMove, YardCheck, YardPolicy: states, invariants, commands, events | aggregate-design-canvas v1.1 |
| Domain message flow | live unload, drop and later door call, gate rejection, hostler move with lease expiry | domain-message-flow-modelling |
| EventStorming | process-level boards with hotspots | eventstorming-glossary-cheat-sheet |
| Class diagram | domain types and the hexagonal ports and adapters | UML |
| Entity relationship | the Postgres schema (OLTP and analytics) | ER |
| Sequence diagrams | runtime sequences per significant command | UML |
| Domain events | the 23 published and 16 consumed events with CloudEvents types, topics and payloads | event catalogue |
Related: API overview, Event catalogue, Architecture.