知识卡片
模块边界与限界上下文不足以展示系统全貌
模块把局部模型切成可理解的小块,却可能数量很多、设计风格各异;限界上下文能防止模型混淆,却不自动说明整个系统怎样拼合。领域提炼突出核心,也仍需看清支持部分及其相互关系。
在多人相对独立开发的大系统中,缺少共同的整体原则会让同类问题产生不同解法、知识难跨模块迁移,并可能损害持续集成与上下文一致性。大型结构补的是跨局部边界的可解释性,而非取代模块或限界上下文。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Chapter Sixteen. Large-Scale Structure · 查看原书依据
On a project of any size, people must work somewhat independently on different parts of the system. Without any coordination or rules, a confusion of different styles and distinct solutions to the same problems arises, making it hard to understand how the parts fit together and impossible to see the big picture. Learning about one part of the design will not transfer to other parts, so the project will end up with specialists in different MODULES who cannot help each other outside their narrow range. CONTINUOUS INTEGRATION breaks down and the BOUNDED CONTEXT fragments.