摘要: 一、定义 命令模式是一个高内聚的模式,其定义为:Encapsulate a request as an object,there by letting you parameterize clients with different requests,queue or log requests,and 阅读全文
posted @ 2016-12-20 16:36 飞轩 阅读(14998) 评论(0) 推荐(1) 编辑
摘要: 一、定义 中介者模式的定义为:Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to 阅读全文
posted @ 2016-12-20 15:41 飞轩 阅读(432) 评论(0) 推荐(0) 编辑