知识卡片
结构定制与设计定制需权衡
三明治加盟店需要本地促销、配方和路线差异时,可考虑把定制做成微内核插件结构,也可在普通应用设计里用模板方法等机制实现。是否上升为架构特征,取决于差异是否重要到需要专门结构,以及该结构对性能、耦合和成本的代价。原书没有指定微内核为该案例的唯一解。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Identifying Architectural Characteristics · 查看原书依据
a traditional design can also accommodate this requirement via design patterns (such as the Template Method).
参考来源
- 位置:《Fundamentals of Software Architecture》第07章《Identifying Architectural Characteristics》(源文件:`OEBPS/ch05.html`)
- 结论依据:原文并列微内核与设计模式两条路径,要求按竞争特征和成本权衡。
- 原始内容:a traditional design can also accommodate this requirement via design patterns (such as the Template Method).