Context Map — Samples
These are the samples for the Context Map — Strategic DDD guide. See also Short info and the tutorial.
Worked example
Section titled “Worked example”Booking consumes availability from a legacy Inventory provider whose terminology it cannot change.
- Name both bounded contexts and their distinct vocabulary.
- Mark the provider/consumer direction.
- Choose a translation boundary that protects Booking from legacy-specific terms.
- Explain who maintains that translation and which changes would require review.
The model now exposes a strategic design decision. SIM can describe the wire contract, while a decision record preserves why translation was preferable to adopting the legacy model everywhere.
Practice examples
Section titled “Practice examples”These four exercises are lesson briefs. Their dedicated CtxBazaar recipes and browser launch actions are planned; see Learning with models for available downloads and the meaning of each result.
| Exercise | Try this | Expected observation |
|---|---|---|
| Two meanings of customer | Separate Sales and Support and describe how each uses Customer. | The shared word no longer implies one universal data model. |
| Customer–supplier | Make Inventory upstream of Booking and describe the collaboration. | A reviewer can name the dependency direction and who negotiates changes. |
| Protect a legacy boundary | Place an anticorruption layer between Booking and a legacy provider. | Translation responsibility is explicit rather than hidden in a generic arrow. |
| Reconsider a shared kernel | Compare a shared model with separately owned models and a published contract. | Explain the coordination cost of sharing and the translation cost of separation. |
