返回主题:对象与关系的结构映射

此卡片不在当前主题的阅读序列中,可返回主题继续阅读。

知识卡片

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

战略设计要兼顾分割与协作

理解等级:高级

企业级模型大到无人能逐个对象掌握时,必须在概念和实现上拆分,同时保持关键业务协作。一个包揽全局的模型容易臃肿且暗藏矛盾;若只把小系统用临时接口拼起来,又会在集成点积累不一致。

战略设计要有持续演化的边界与协作安排:降低部分间依赖、保留必要互操作,并能直接指导实现。边界选择常需要团队之间商议,不是单个类设计可独立解决。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Part IV: Strategic Design · 查看原书依据

      A monolithic, all-encompassing domain model will be unwieldy and loaded with subtle duplications and contradictions. A set of small, distinct subsystems glued together with ad hoc interfaces will lack the power to solve enterprise-wide problems and allows consistency problems to arise at every integration point. The pitfalls of both extremes can be avoided with a systematic, evolving design strategy.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第98章《Part IV: Strategic Design》(源文件:_epub-src/0321125215_part04.html;单元01) - 结论依据:原文并列指出全局单体模型与临时接口拼接的弊端,要求系统化且演化的策略,在分割中维持互操作。 - 原始内容:A monolithic, all-encompassing domain model will be unwieldy and loaded with subtle duplications and contradictions. A set of small, distinct subsystems glued together with ad hoc interfaces will lack the power to solve enterprise-wide problems and allows consistency problems to arise at every integration point. The pitfalls of both extremes can be avoided with a systematic, evolving design strategy.