摘要: 原文链接 Chain of Responsibility: Problem Example: an online ordering system 示例:在线订购系统 – The request must pass a series of checks – New requirements: vali 阅读全文
posted @ 2024-10-31 20:30 Mephostopheles 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 原文链接 Flyweight: Problem Each particle, such as a bullet, a missile or a piece of shrapnel was represented by a separate object containing plenty of da 阅读全文
posted @ 2024-10-31 19:14 Mephostopheles 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Index • Why and What? 为什么和什么? • Understanding Architecture 了解架构 • Typical Architecture Views 典型架构视图 • On Software Architects 论软件架构师 • Diagraming and P 阅读全文
posted @ 2024-10-31 14:27 Mephostopheles 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 原文链接 Composite: Problem Using the Composite pattern makes sense only when the core model of your app can be represented as a tree. 仅当应用程序的核心模型可以表示为树时, 阅读全文
posted @ 2024-10-31 13:41 Mephostopheles 阅读(5) 评论(0) 推荐(0) 编辑