← 返回刚才阅读的位置

知识卡片

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

上下文边界权衡集成与独立

理解等级:高级

扩大统一上下文能让跨任务流程、共同语言和深度功能集成更顺畅,也少做模型翻译;拆小上下文则有利于小团队持续集成、保留专业术语与独立行动。

原书图14.13把“关联系统的控制力”和“团队沟通承诺/能力”作为选择策略的两轴:向单一上下文、共享内核移动,需要更多控制与协调;分开建模或防腐层则容许较少的共同控制。图是方向性权衡,不提供数值阈值。最终还要看实际接口规模、翻译难度和组织关系。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第14章|Choosing Your Model Context Strategy · 查看原书依据

      On the merits, decisions about whether to expand or to partition BOUNDED CONTEXTS should be based on the cost-benefit trade-off between the value of independent team action and the value of direct and rich integration. In practice, political relationships between teams often determine how systems are integrated. A technically advantageous unification may be impossible because of reporting structure. Management may dictate an unwieldy merger. You won't always get what you want, but at least you may be able to assess and communicate something of the cost incurred, and take steps to mitigate it.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第114章《Choosing Your Model Context Strategy》(源文件:_epub-src/0321125215_ch14lev1sec13.html;单元01) - 结论依据:正文列出统一与拆分的不同收益和成本;原图14.13展示策略大致位于控制力及沟通能力两轴上。 - 原始内容(决策原则):On the merits, decisions about whether to expand or to partition BOUNDED CONTEXTS should be based on the cost-benefit trade-off between the value of independent team action and the value of direct and rich integration. In practice, political relationships between teams often determine how systems are integrated. A technically advantageous unification may be impossible because of reporting structure. Management may dictate an unwieldy merger. You won't always get what you want, but at least you may be able to assess and communicate something of the cost incurred, and take steps to mitigate it. - 原始内容(力量清单):Flow between user tasks is smoother when more is handled with a unified model. [...] Translation between two models can be difficult (sometimes impossible). Shared language fosters clear team communication. [...] CONTINUOUS INTEGRATION is easier with smaller teams and code bases. [...] Different models can cater to special needs or encompass the jargon of specialized groups of users, along with specialized dialects of the UBIQUITOUS LANGUAGE. - 转录说明:`[...]` 标明列表中未引的条目;原 EPUB 列表项在纯文本抽取时重复,此处每项只转录一次。图14.13仅给关系模式的相对需求,不提供数值阈值。