知识卡片

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

技术框架也应随应用反馈保持简约

理解等级:高级

技术框架能提供基础服务、隔离领域与其他关注点,也可能妨碍领域模型的表达和修改。原书把战略设计的三项约束延伸到技术框架:随应用变化演进、保持最小必要规则、让框架设计者参与应用开发。

封装无关技术细节是有价值的;替开发者预先包办设计判断则可能设障。可检查框架设计者是否尊重使用者的判断能力。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第17章|Six Essentials for Strategic Design Decision Making · 查看原书依据

      Technical frameworks can greatly accelerate application development, including the domain layer, by providing an infrastructure layer that frees the application from implementing basic services, and by helping to isolate the domain from other concerns. But there is a risk that an architecture can interfere with expressive implementations of the domain model and easy change. This can happen even when the framework designers had no intention of venturing into the domain or application layers.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第140章《Six Essentials for Strategic Design Decision Making》(源文件:_epub-src/0321125215_ch17lev1sec5.html) - 结论依据:原文技术框架段将演进、最小化、应用开发参与用于基础设施,并区分封装无关细节与妨碍开发的预包装。 - 原始内容:Technical frameworks can greatly accelerate application development, including the domain layer, by providing an infrastructure layer that frees the application from implementing basic services, and by helping to isolate the domain from other concerns. But there is a risk that an architecture can interfere with expressive implementations of the domain model and easy change. This can happen even when the framework designers had no intention of venturing into the domain or application layers.