摘要: /* Notes: * Coupling between classes and class libraries is a major maintenance * headache. To ease this problem, often the client talks to an * abstraction description, which in turn calls an imple... 阅读全文
posted @ 2004-06-03 14:51 hi-justin 阅读(452) 评论(0) 推荐(0) 编辑
摘要: /* Notes: * Adapters are often used when client code is written to expect classes * from one framework, and it meant to work with classes from a totally * different framework. Assume you cannot chan... 阅读全文
posted @ 2004-06-03 14:51 hi-justin 阅读(445) 评论(0) 推荐(0) 编辑
摘要: /* Notes: * When the construction needed involves many objects, possible organised * in multi-faceted arrangements, the entire construction can be delegated * to an abstract factory. This exposes stan... 阅读全文
posted @ 2004-06-03 14:50 hi-justin 阅读(522) 评论(0) 推荐(0) 编辑