<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>冒号论坛 &#187; Tag: event - Recent Topics</title>
		<link>http://bbs.zhenghui.org/tags/event</link>
		<description>冒号论坛 &raquo; Tag: event - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Sep 2010 12:48:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://bbs.zhenghui.org/search.php</link>
		</textInput>
		<atom:link href="http://bbs.zhenghui.org/rss/tags/event/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>Todd on "状态模式与事件驱动"</title>
			<link>http://bbs.zhenghui.org/topic/%e7%8a%b6%e6%80%81%e6%a8%a1%e5%bc%8f%e4%b8%8e%e4%ba%8b%e4%bb%b6%e9%a9%b1%e5%8a%a8#post-37</link>
			<pubDate>Tue, 26 Jan 2010 09:52:52 +0000</pubDate>
			<dc:creator>Todd</dc:creator>
			<guid isPermaLink="false">37@http://bbs.zhenghui.org/</guid>
			<description>&#60;p&#62;我发现状态模式与事件驱动编程有相通之处，可以把当前状态和事件看做是二维的自变量(state, event)，状态模式以state为核心，而事件驱动以event为核心。&#60;/p&#62;
&#60;p&#62;实际项目中，我多用事件驱动，较少用到状态模式。但是发现状态模式和编译原理里面的递归下降分析法很类似，递归下降写出来的程序本质上就是状态模式。
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
