知识卡片
可插拔组件框架以抽象核心约束独立实现
当多种应用基于相同领域抽象、却由不同团队独立实现时,各自翻译限界上下文会抬高集成成本;团队又未必能共同维护共享内核。可插拔组件框架先提炼核心领域的接口及交互协议,使不同组件实现可替换、不同应用只通过这些接口使用组件。
各组件内部可以保留自己的模型与实现。中心枢纽协调接口和交互规则;是否使用技术框架取决于分布、共享等具体技术需要,概念结构不依赖某一框架。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 原书第16章|Pluggable Component Framework · 查看原书依据
Distill an ABSTRACT CORE of interfaces and interactions and create a framework that allows diverse implementations of those interfaces to be freely substituted. Likewise, allow any application to use those components, so long as it operates strictly through the interfaces of the ABSTRACT CORE.
参考来源
- 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第132章《Pluggable Component Framework》(源文件:_epub-src/0321125215_ch16lev1sec5.html)
- 结论依据:原文的问题陈述、模式陈述和技术框架说明共同支持这一结构。
- 原始内容:Distill an ABSTRACT CORE of interfaces and interactions and create a framework that allows diverse implementations of those interfaces to be freely substituted. Likewise, allow any application to use those components, so long as it operates strictly through the interfaces of the ABSTRACT CORE .