知识卡片
上下文大小需权衡
通用语言的一致性只给出上下文的最大边界,不决定它必须多大。进一步划分可以支持团队分工、独立发布或独立伸缩,却会增加集成成本。不要拆散共同处理同一数据的连贯用例;若每次需求都要求多个上下文同步修改发布,分割就没有获得预期的独立演进。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 管理领域复杂度 · 查看原书依据
A bounded context’s size, by itself, is not a deciding factor. Models shouldn’t necessarily be big or small. Models need to be useful. The wider the boundary of the ubiquitous language is, the harder it is to keep it consistent. It may be beneficial to divide a large ubiquitous language into smaller, more manageable problem
参考来源
- 位置:《Learning Domain-Driven Design》第3章《管理领域复杂度》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch03.html)
- 结论依据:原文对该概念的定义、应用条件及相邻概念的比较支撑本卡解释。
- 原始内容:A bounded context’s size, by itself, is not a deciding factor. Models shouldn’t necessarily be big or small. Models need to be useful. The wider the boundary of the ubiquitous language is, the harder it is to keep it consistent. It may be beneficial to divide a large ubiquitous language into smaller, more manageable problem