- Hands-On Microservices with Kotlin
- Juan Antonio Medina Iglesias
- 169字
- 2021-06-30 19:10:43
Bounded context
When a domain model grows, it becomes complicated to have a unified domain model. Sometimes, we face a situation when we see two different representations of a concept, for example, let's examine the concept of family in a large model.
In a shopping platform, we may have the concept of products families, for example, our fabulous 32" LCD screen and the classical 24" CRT screen are part of the screen family. On the other hand, our speed offers and last day offers are part of our limited timed-offer family.
We could see that family may not be exactly the same thing on products and offers, probably they both have a unique name on their model, but in each context they may have a totally different model and logic.
In DDD, we separated them in to bounded contexts, a boundary that surrounds a model. This keeps the knowledge inside the boundary consistent, ignoring the outside world so we could still have our ubiquitous language for our domain model.
- 軟件安全技術
- DevOps with Kubernetes
- Microsoft Exchange Server PowerShell Cookbook(Third Edition)
- Python Deep Learning
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- Raspberry Pi Home Automation with Arduino(Second Edition)
- Java系統化項目開發教程
- 利用Python進行數據分析
- Mastering C++ Multithreading
- Java圖像處理:基于OpenCV與JVM
- 汽車人機交互界面整合設計
- Extending Unity with Editor Scripting
- OpenCV Android Programming By Example
- HTML5移動前端開發基礎與實戰(微課版)
- HTML5移動Web開發