DDD Starter Modelling Process
ddd-crew's DDD Starter Modelling Process is a guide for getting started with Domain-Driven Design. It has eight steps, from understanding the business model through to writing code. ddd-crew is explicit that the steps are not a linear recipe. Teams jump between them, repeat them, and revisit earlier steps as they learn.
This page uses the eight steps to index the site. For each step it gives
a short description and names the artifact on this site that is the
step's output for the twenty warehouse-systems contexts documented
here.
Grey marks the one step that has no artifact on this site (see Organise).
1. Understand
What it is: align on the business model, the users and their needs, and the organisation's goals before modelling the software. ddd-crew suggests tools such as the Business Model Canvas, Impact Mapping and User Story Mapping.
Output on this site:
- Domain Vision: what the platform does, the end-to-end fulfillment flow it serves, and where it wins.
- One Business Context page per bounded context, which describes the problem the context solves in business language. All twenty are listed in the per-context table below.
2. Discover
What it is: explore the domain visually and collaboratively, so that domain experts and engineers build a shared picture of how the business works. The usual tools are EventStorming and Domain Storytelling.
Output on this site:
- Big Picture EventStorming: the fleet-wide, order-to-ship timeline of domain events across every context, drawn with ddd-crew's EventStorming notation.
- One EventStorming board per bounded context, synced from that context's repository. It covers the context's own commands, policies, read models and hotspots.
3. Decompose
What it is: split the domain into sub-domains, which are loosely coupled parts that can be reasoned about and changed independently.
Output on this site:
- Subdomain Classification: each bounded context, the part of the domain it owns, and why the line is drawn there.
- Bounded Contexts: the twenty resulting contexts, with their
tier and CloudEvents subdomain (
wmsorwes).
4. Strategize
What it is: decide which sub-domains are Core (where the business must differentiate), Supporting or Generic, so investment goes where it matters. ddd-crew's tool here is the Core Domain Chart.
Output on this site:
- Core Domain Chart: the thirteen contexts that have a chart of their own, on one chart.
- One Core Domain Chart per context, synced from its repository, which gives that context's own position and evidence.
The resulting classification:
| Classification | Bounded contexts |
|---|---|
| Core | inventory-storage, wes-work-planning, fulfillment-execution, warehouse-planning |
| Supporting | workforce-management, labor-performance, warehouse-ops-agent, network-fulfillment, product-master, inbound-receiving, slotting-optimization, pick-face-replenishment, task-interleaving |
| Generic | facility-layout, process-path-management |
| Generic/Supporting | order-management |
5. Connect
What it is: connect the sub-domains into an architecture that delivers the end-to-end business use cases, and make every message and relationship between them explicit. ddd-crew's tools are Domain Message Flow Modelling and Context Mapping.
Output on this site:
- Domain Message Flow Modelling: the fleet's key business scenarios as commands, events and queries between contexts.
- Context Map: every relationship between contexts, with its upstream/downstream patterns and technology.
- Event Standard (CloudEvents 1.0): the one mandatory envelope for every Kafka message that crosses those relationships.
- One Domain Message Flow and one Context Map per context, synced from its repository.
6. Organise
What it is: organise autonomous teams around the bounded contexts so that team boundaries reinforce the architecture. ddd-crew points to Team Topologies for this step.
Output on this site: none. This site has no team-ownership,
team-topology or socio-technical artifact, and none is claimed.
warehouse-systems is a study project without real teams to organise.
The nearest structural fact is that each bounded context lives in its own
repository (github.com/IQVO/<context>) with its own decision trail,
which the ADR index links to. That is a code-ownership boundary.
It is not a team design.
7. Define
What it is: define each bounded context's role, responsibilities, ubiquitous language and inbound and outbound communication before designing its internals. ddd-crew's tool is the Bounded Context Canvas.
Output on this site:
- One Bounded Context Canvas per context, synced from its repository. Each row maps to a real route, MCP tool or Kafka topic in that context's code.
- One Ubiquitous Language page per context, plus the fleet-wide Ubiquitous Language.
8. Code
What it is: design the internals of each context, including its aggregates, invariants, persistence and interactions, and then implement them. ddd-crew's tool for the aggregate is the Aggregate Design Canvas.
Output on this site:
- Per context, synced from its repository: Aggregate Design Canvas, Class Diagram, Entity Relationship diagram, Sequence Diagrams and Domain Events.
- Architecture: fleet-level summaries such as the Domain Model and Data Models, which link to each context's detailed pages.
- API Reference: REST and AsyncAPI references generated
from each context's own
apis/openapi.yamlandapis/asyncapi.yaml. - ADR index: each context's own Architecture Decision Records. The index links to them and does not copy them.
Per-context artifacts by step
The Decompose step's output is fleet-level only, in Subdomain Classification. The Organise step has no output (see above). Each context's class diagram, entity-relationship diagram, sequence diagrams and domain events are linked from that context's overview page.