知识卡片
共享内核与顺从者区别在协作权
[[共享内核只共享双方必需的模型子集]]与顺从者模式都可能在接触区域使用相同模型,外部也各有独立部分;关键区别是共同决策权:共享内核由两队协调维护,顺从者面对的是不愿合作的上游,只能由下游跟随。
仅看代码或模型是否重叠,无法判定关系模式。若治理机制被误判为共享内核,下游可能把上游不会兑现的协作当作承诺。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第14章|Following Isn't Always Bad · 查看原书依据
CONFORMIST resembles SHARED KERNEL in that both have an overlapping area where the model is the same, areas where your model has been extended by addition, and areas where the other model does not affect you. The difference between the patterns is in the decision-making and development processes. Where the SHARED KERNEL is a collaboration between two teams that coordinate tightly, CONFORMIST deals with integration with a team that is not interested in collaboration.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第108章《Following Isn't Always Bad》(源文件:_epub-src/0321125215_ch14lev1sec7_split_001.html;单元01)
- 结论依据:原文直接比较两种模式:模型表面相似,差异在共同开发与决策过程。
- 原始内容:C ONFORMIST resembles SHARED KERNEL in that both have an overlapping area where the model is the same, areas where your model has been extended by addition, and areas where the other model does not affect you. The difference between the patterns is in the decision-making and development processes. Where the SHARED KERNEL is a collaboration between two teams that coordinate tightly, CONFORMIST deals with integration with a team that is not interested in collaboration.
- 转录说明:原 EPUB 以普通首字母加后续强调标签拼出 `CONFORMIST`;上行纯文本抽取后的 `C ONFORMIST` 是标签边界。