<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post//</link>
<title><![CDATA[[原]PHP设计模式——观察者模式]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Php]]></category>
<pubDate>Mon, 18 Jul 2011 05:22:04 +0000</pubDate> 
<guid>https://www.linuxfly.org/post//</guid> 
<description>
<![CDATA[ 
	<strong><span style="color: #4169E1;">三、观察者模式</span></strong><br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;观察者模式（Observer Pattern）必须包含两个角色：观察者和被观察对象。观察者和被观察者之间存在“观察”的逻辑关联，当被观察者发生改变时，观察者就会观察到变化，并且做出相应的响应。观察者模式完美地将观察者和被观察者的对象分离开。<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp;该模式通常是向一个对象添加一个方法使本身变得可观察。当可观察的对象更改时，它会将消息发送到已注册的观察者。这些观察者使用该信息执行的操作与可观察的对象无关。结果是对象之间互相对话，而不必了解原因。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/php/" rel="tag">php</a> , <a href="https://www.linuxfly.org/tags/pattern/" rel="tag">pattern</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post//#blogcomment</link>
<title><![CDATA[[评论] [原]PHP设计模式——观察者模式]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://www.linuxfly.org/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>