﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-小山-随笔分类-设计与模式</title><link>http://www.cnblogs.com/singlepine/category/59538.html</link><description>付出最大努力，追求最高成就，享受最佳生活，收获无悔人生</description><language>zh-cn</language><lastBuildDate>Sat, 17 May 2008 07:00:08 GMT</lastBuildDate><pubDate>Sat, 17 May 2008 07:00:08 GMT</pubDate><ttl>60</ttl><item><title>状态模式(State pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/11/03/268380.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Thu, 03 Nov 2005 14:28:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/11/03/268380.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/268380.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/11/03/268380.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/268380.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/268380.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、引子　　状态模式自身结构非常简单——前面刚刚介绍了几个结构比较简单的设计模式，和他们一样，状态模式在具体实现上留下了可变换的余地。我前面已经介绍过它的孪生兄妹策略模式了，大家可以两者比较着阅读。...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/11/03/268380.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/268380.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-11-03 22:28 <a href="http://www.cnblogs.com/singlepine/archive/2005/11/03/268380.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>访问者模式(Visitor Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265025.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:16:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265025.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265025.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265025.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265025.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265025.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;访问者（Visitor）模式访问者模式的目的是封装一些施加于某种数据结构元素之上的操作。一旦这些操作需要修改的话，接受这个操作的数据结构则可以保持不变。问题提出System...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265025.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265025.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:16 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265025.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>迭代器模式(Iterator pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265024.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:16:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265024.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265024.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265024.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265024.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265024.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、引言　　迭代这个名词对于熟悉Java的人来说绝对不陌生。我们常常使用JDK提供的迭代接口进行javacollection的遍历：Iterator&nbsp;it&nbsp;=&nbsp;...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265024.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265024.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:16 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265024.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>装饰模式(Decorator Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265023.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:15:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265023.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265023.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265023.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265023.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265023.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;装饰（Decorator）模式装饰（Decorator）模式又名包装（Wrapper）模式[GOF95]。装饰模式以对客户端透明的方式扩展对象的功能，是继承关系的一个替代方案。...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265023.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265023.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:15 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265023.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>解释器模式(Robot pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265022.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:15:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265022.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265022.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265022.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265022.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265022.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: &nbsp;namespace&nbsp;DesignPattern.Interpreter&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;abs...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265022.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265022.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:15 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265022.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>命令模式(Command Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265021.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:14:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265021.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265021.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265021.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265021.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265021.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;命令（Command）模式命令（Command）模式属于对象的行为模式【GOF95】。命令模式又称为行动（Action）模式或交易（Transaction）模式。命令模式把一个请求...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265021.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265021.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:14 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265021.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>策略模式(Strategy Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265020.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:13:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265020.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265020.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265020.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265020.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265020.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;策略（Strategy）模式策略模式的用意是针对一组算法，将每一个算法封装到具有共同接口的独立的类中，从而使得它们可以相互替换。策略模式使得算法可以在不影响到客户端的情况下发生变化...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265020.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265020.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:13 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265020.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>模板方法模式(Template Method Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265018.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:12:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265018.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265018.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265018.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265018.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265018.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;模板方法（TemplateMethod）模式准备一个抽象类，将部分逻辑以具体方法以及具体构造子的形式实现，然后声明一些抽象方法来迫使子类实现剩余的逻辑。不同的子类可以以不同的方式...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265018.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265018.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:12 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265018.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>备忘录模式(Memento pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265017.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:11:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265017.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265017.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265017.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265017.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265017.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、引子　　俗话说：世上难买后悔药。所以凡事讲究个&#8220;三思而后行&#8221;，但总常见有人做&#8220;痛心疾首&#8221;状：当初我要是&#8230;&#8230;。如果真的有《大...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265017.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265017.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:11 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265017.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>原型模式(Prototype Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265016.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:10:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265016.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265016.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265016.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265016.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265016.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;原型（Prototype）模式原型模式的用意是：通过给出一个原型对象来指明所要创建的对象类型，然后用复制这个原型对象的办法创建出更多的同类型对象。从孙大圣的手段谈起孙悟空在...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265016.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265016.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:10 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265016.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>抽象工厂模式(Abstract Factory Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265015.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:10:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265015.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265015.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265015.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265015.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265015.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;抽象工厂（AbstractFactory）模式抽象工厂模式是所有形态的工厂模式中最为抽象和最具一般性的一种形态。为了方便引进抽象工厂模式，引进一个新概念：产品族（Produc...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265015.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265015.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:10 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265015.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>工厂方法模式(Factory Method Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265014.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:09:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265014.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265014.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265014.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265014.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265014.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;工厂方法（FactoryMethod）模式工厂方法（FactoryMethod）模式是类的创建模式，其用意是定义一个创建产品对象的工厂接口，将实际创建工作推迟到子类中。工厂方...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265014.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265014.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:09 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265014.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>生成器模式(Builder Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265012.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:08:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265012.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265012.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265012.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265012.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265012.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;建造者（Builder）模式建造者模式可以将一个产品的内部表象与产品的生成过程分割开来，从而可以使一个建造过程生成具有不同的内部表象的产品对象。对象性质的建造有些情况下，一...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265012.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265012.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:08 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265012.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>享元模式(Flyweight Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265011.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:07:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265011.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265011.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265011.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265011.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265011.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;享元（Flyweight）模式Flyweight在拳击比赛中指最轻量级，即"蝇量级"，有些作者翻译为"羽量级"。这里使用"享元模式"更能反映模式的用意。享元模式以共享的方式高效...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265011.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265011.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:07 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265011.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>职责链模式(Chain of Responsibility Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265010.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:06:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265010.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265010.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265010.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265010.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265010.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;职责链（ChainofResponsibility）模式责任链模式是一种对象的行为模式【GOF95】。在责任链模式里，很多对象由每一个对象对其下家的引用而连接起来形成一条链。请...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265010.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265010.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:06 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265010.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>代理模式(Proxy Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265009.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:05:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265009.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265009.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265009.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265009.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265009.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;代理（Proxy）模式代理（Proxy）模式给某一个对象提供一个代理，并由代理对象控制对原对象的引用。代理模式的英文叫做Proxy或Surrogate，中文都可译成"代理"。所...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265009.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265009.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:05 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265009.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>中介者模式(Mediator pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265007.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:05:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265007.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265007.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265007.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265007.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265007.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、引子　　中介在现实生活中并不陌生，满大街的房屋中介、良莠不齐的出国中介&#8230;&#8230;。它们的存在是因为它们能给我们的生活带来一些便利：租房、买房用不着各个小区里瞎转；出国留学也不用...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265007.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265007.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:05 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265007.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>观察者模式(Observer Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265006.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:04:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265006.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265006.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265006.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265006.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265006.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;观察者（Observer）模式观察者模式又叫做发布-订阅（Publish/Subscribe）模式、模型-视图（Model/View）模式、源-监听器（Source/Listene...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265006.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265006.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:04 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265006.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>单件模式(Singleton Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265004.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:03:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265004.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265004.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265004.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265004.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265004.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;单例（Singleton）模式单例模式的特点：单例类只能有一个实例。单例类必须自己创建自己的唯一实例。单例类必须给所有其它对象提供这一实例。...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265004.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265004.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:03 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265004.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>桥接模式(Bridge Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265002.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:02:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265002.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265002.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265002.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265002.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265002.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;桥梁（Bridge）模式桥梁模式是一个非常有用的模式，也是比较复杂的一个模式。熟悉这个模式对于理解面向对象的设计原则，包括"开－闭"原则(OCP)以及组合/聚合复用原则(CARP)...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265002.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265002.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:02 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265002.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>合成模式(Composite Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265001.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:01:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265001.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265001.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265001.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265001.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265001.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;合成（Composite）模式合成模式有时又叫做部分－整体模式（Part-Whole）。合成模式将对象组织到树结构中，可以用来描述整体与部分的关系。合成模式可以使客户端将单纯元素与...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265001.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265001.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:01 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265001.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>外观模式(Facade Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/265000.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 10:01:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/265000.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/265000.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/265000.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/265000.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/265000.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 一、&nbsp;门面（Facade）模式外部与一个子系统的通信必须通过一个统一的门面(Facade)对象进行，这就是门面模式。医院的例子用一个例子进行说明，如果把医院作为一个子系统，按照部...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/265000.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/265000.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 18:01 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/265000.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>适配器模式(Adapter Pattern)</title><link>http://www.cnblogs.com/singlepine/archive/2005/10/30/264997.html</link><dc:creator>小山</dc:creator><author>小山</author><pubDate>Sun, 30 Oct 2005 09:58:00 GMT</pubDate><guid>http://www.cnblogs.com/singlepine/archive/2005/10/30/264997.html</guid><wfw:comment>http://www.cnblogs.com/singlepine/comments/264997.html</wfw:comment><comments>http://www.cnblogs.com/singlepine/archive/2005/10/30/264997.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/singlepine/comments/commentRss/264997.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/singlepine/services/trackbacks/264997.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 结构模式（StructuralPattern）描述如何将类或者对象结合在一起形成更大的结构。结构模式描述两种不同的东西：类与类的实例。根据这一点，结构模式可以分为类的结构模式和对象的结构模式。后...&nbsp;&nbsp;<a href='http://www.cnblogs.com/singlepine/archive/2005/10/30/264997.html'>阅读全文</a><img src ="http://www.cnblogs.com/singlepine/aggbug/264997.html?type=1" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://singlepine.cnblogs.com/" target="_blank">小山</a> 2005-10-30 17:58 <a href="http://www.cnblogs.com/singlepine/archive/2005/10/30/264997.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>