Domain-Driven Design Context Mapping

Domain-Driven Design (DDD) uses context mapping to break a big project into smaller, well-understood parts, each with its own rules and boundaries. This helps teams avoid confusion and makes systems easier to evolve.

It's like a world map split into countries. Each country speaks its own language and sets its own laws, but they all share borders and sometimes need treaties to work together. Good mapping makes travel and communication clear and safe.

  • Bouned contexts: Each part has its own clear rules
  • Shared boundaries: Agree how parts connect and communicate
  • Context maps: Visualise and manage relationships between parts
A colourful world map with clear country borders
Context mapping helps teams work together smoothly, even when parts of the system are very different.