Technical Blog of QuitGame

永不放弃的梦
数据加载中……

Design pattern

[ZZ]Singleton的五种C#实现
     摘要: 面试的时候经常被问到 singleton 有几种写法,singleton 也是被面试官问得最多的模式之一,因此转载此文。
另外,如果您初学设计模式的话,这里有一本不错的电子书,您可以下载回去看看。
地址:Download  阅读全文

posted @ 2006-03-06 14:20 quitgame 阅读(458) | 评论 (0)  编辑

体验.net2.0的优雅(4):Provider、策略、控制反转和依赖注入

posted @ 2006-01-16 20:36 quitgame 阅读(2912) | 评论 (5)  编辑

使用装饰器模式分离职责

posted @ 2005-12-13 18:25 quitgame 阅读(529) | 评论 (0)  编辑

Null Object 模式和实现
     摘要: 意图
提供一个对象[如一个代理]给给定的类型,用以代替这个对象为空的情况。 Null Object提供聪明的、什么也不做的行为,隐藏来自它的合作者的细节。

别名

Stub, Active Nothing
  阅读全文

posted @ 2005-11-05 22:35 quitgame 阅读(933) | 评论 (2)  编辑

观察者模式实践

posted @ 2005-04-11 17:24 quitgame 阅读(393) | 评论 (3)  编辑

[ZZ]领悟Web设计模式

posted @ 2005-03-02 15:31 quitgame 阅读(712) | 评论 (0)  编辑

[ZZ]ASP.NET下MVC设计模式的实现

posted @ 2005-02-28 09:32 quitgame 阅读(465) | 评论 (0)  编辑

[ZZ]MVC设计模式

posted @ 2005-02-28 09:24 quitgame 阅读(323) | 评论 (0)  编辑