随笔分类 - B.设计模式分析
Design patterns using C#
摘要:设计模式(Design Patterns)是你在实际应用程序开发中,对不断发现的软件设计问题的重复解决方案。设计模式是关于对象的设计和交互,关于对经常出现的软件开发挑战的一些完美和重用的解决方案,也提供了一个交流平台,
阅读全文
摘要:Bridge Pattern(桥接模式)属于Structural Pattern(结构型模式),Bridge Pattern-将类的接口和它的实现分离,无需修改客户端代码就可以改变或替换实现过程。
This pattern is used for decoupling an abstraction from its implementation so that the two can very independently. The bridge pattern lets the abstraction and its implementation evolve separately.
阅读全文
摘要:Proxy Pattern(代理模式)属于Structural Pattern(结构型模式),Proxy Pattern-为Client真正要调用的对象提供一个代理(Surrogate or placeholder),来控制Client对该对象的访问。
阅读全文