- 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.
- 數據庫系統教程(第2版)
- DevOps with Kubernetes
- Learning Cython Programming(Second Edition)
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- 軟件測試工程師面試秘籍
- 新編Premiere Pro CC從入門到精通
- 前端架構:從入門到微前端
- JavaScript從入門到精通(第3版)
- SAS數據統計分析與編程實踐
- PLC編程及應用實戰
- 鋒利的SQL(第2版)
- Magento 2 Beginners Guide
- Delphi開發典型模塊大全(修訂版)
- Learning Alfresco Web Scripts
- Zend Framework 2 Cookbook