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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access