知识卡片

普通读书笔记卡 · 1971.o.1.b.1.a.2.c.1.b.2.a.4

共享内核控制耦合

理解等级:高级

共享内核让多个上下文共同使用一小块一致模型,以减少重复实现及同步成本。它会耦合双方生命周期,因此只应共享确需一致的契约或数据结构,并让每次修改触发所有受影响上下文的集成测试。只有重复实现与整合的成本高于协调共享代码的成本时才值得采用;它是单团队所有权原则的审慎例外。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 集成限界上下文 · 查看原书依据

      The overlapping model couples the lifecycles of the participating bounded contexts. A change made to the shared model has an immediate effect on all the bounded contexts. Hence, to minimize the cascading effects of changes, the overlapping model should be limited, exposing only that part of the model that has to be implemented by both

    参考来源

    - 位置:《Learning Domain-Driven Design》第4章《集成限界上下文》(来源项目:book-sources;源文件:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch04.html) - 结论依据:原文对该概念的定义、应用条件及相邻概念的比较支撑本卡解释。 - 原始内容:The overlapping model couples the lifecycles of the participating bounded contexts. A change made to the shared model has an immediate effect on all the bounded contexts. Hence, to minimize the cascading effects of changes, the overlapping model should be limited, exposing only that part of the model that has to be implemented by both