- Hands-On Microservices with Kotlin
- Juan Antonio Medina Iglesias
- 213字
- 2021-06-30 19:10:44
Context mapping
In a large application designed for several bounded contexts, we can lose sight of the global view. It is inevitable that the various bounded contexts will need to share or communicate data between each other. A context map is a global view of the system as a whole, showing how our bounded contexts should communicate with each other.

This is an oversimplified example that shows three bounded contexts and how they are mapped. In the product context, we have our product and the family that it belongs to. Here, we will have all the operations for this domain context in it and it does not have a direct relation dependency to any other context.
Our offers bounded context has a dependency on the product domain context, but this is a weak relation that should purely reflect the ID of the product that a particular offer belongs to. This context will define the operations that contain the domain logic for this context.
In our shopping bound context, we have a weak relation with the product that belongs to a shopping list and will have the operations for this context. Finally, both offers and shopping concept have a relation with the customer that probably belongs to a separated bounding context.
- Java高并發(fā)核心編程(卷2):多線程、鎖、JMM、JUC、高并發(fā)設(shè)計(jì)模式
- ASP.NET Core Essentials
- 從0到1:HTML+CSS快速上手
- The DevOps 2.4 Toolkit
- Java軟件開發(fā)基礎(chǔ)
- MATLAB for Machine Learning
- 程序設(shè)計(jì)基礎(chǔ)教程:C語(yǔ)言
- HTML5與CSS3基礎(chǔ)教程(第8版)
- JavaScript程序設(shè)計(jì)(第2版)
- Bootstrap for Rails
- 嵌入式Linux C語(yǔ)言程序設(shè)計(jì)基礎(chǔ)教程
- Secret Recipes of the Python Ninja
- Java EE 8 and Angular
- Learning Cocos2d-JS Game Development
- 深入理解Kafka:核心設(shè)計(jì)與實(shí)踐原理