知识卡片
微内核以固定接口扩展
微内核或插件模式把稳定核心与特化扩展分开,经固定接口在构建或以后绑定。扩展可增加功能、平台适配或外部整合,允许不同团队和生态独立演进;收益依赖接口稳定。第三方插件还可能引入安全和隐私风险,不能因扩展易装就省略信任与边界设计。
相关:[[延迟绑定把变化外部化]]。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 可修改性 · 查看原书依据
The plug-in pattern has two types of elements—elements that provide a core set of functionality and specialized variants (called plug-ins) that add functionality to the core via a fixed set of interfaces. The two types are typically bound together at build time or later.
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第8章《可修改性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch08.html)
- 结论依据:原文的定义、机制或比较支持“微内核或插件模式把稳定核心与特化扩展分开,经固定接口在构建或以后绑定”;正文保留其条件与取舍。
- 原始内容:The plug-in pattern has two types of elements—elements that provide a core set of functionality and specialized variants (called plug-ins) that add functionality to the core via a fixed set of interfaces. The two types are typically bound together at build time or later.