摘要: Definition Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses. 定义一个创建对象的接口,但是让子类来决定实例化那个类。... 阅读全文
posted @ 2006-12-06 15:26 玉泉老博 阅读(316) 评论(0) 推荐(0) 编辑
摘要: data & object factoryhttp://www.dofactory.com/Patterns/Patterns.aspx#list 非常简洁地介绍了design pattern的一些最基本的内容http://home.earthlink.net/~huston2/dp/patterns.html对design pattern的一些discusstion, rule of t... 阅读全文
posted @ 2006-12-06 14:48 玉泉老博 阅读(123) 评论(0) 推荐(0) 编辑
Free counter and web stats