Composing Multiple Bounded Contexts

The examples I have provided don’t address the possibility that a single user interface may need to compose two or more domain models. In my examples, concepts from upstream models are integrated into downstream models by translating them into terms of the downstream model.

That’s different from the need to compose multiple models into one unified presentation, as seen in Figure 14.3. The foreign models, in this example, are Products Context, Discussions Context, and Reviews Context. The user interface should not be aware that it is composing multiple models. When a similar situation occurs in your application, you should give thought to how Module (9) structure and naming support your needs, and how Application ...

Get Implementing Domain-Driven Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.