<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Will Fitch&#039;s Blog</title>
	<atom:link href="http://www.willfitch.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.willfitch.com</link>
	<description>programming, techniques and other stuff I like</description>
	<lastBuildDate>Mon, 15 Feb 2010 17:40:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on MySQLi Tutorial by MySQLi Tutorial &#124; Will Fitch&#39;s Blog &#124; Drakz Free Online Service</title>
		<link>http://www.willfitch.com/mysqli-tutorial.html/comment-page-1#comment-10514</link>
		<dc:creator>MySQLi Tutorial &#124; Will Fitch&#39;s Blog &#124; Drakz Free Online Service</dc:creator>
		<pubDate>Mon, 15 Feb 2010 17:40:41 +0000</pubDate>
		<guid isPermaLink="false">2131230664#comment-10514</guid>
		<description>[...] posted here: MySQLi Tutorial &#124; Will Fitch&#039;s Blog   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] posted here: MySQLi Tutorial | Will Fitch&#39;s Blog   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Iterator Pattern: OOP Techniques in PHP by Will Fitch</title>
		<link>http://www.willfitch.com/the-iterator-pattern-oop-techniques-in-php.html/comment-page-1#comment-10444</link>
		<dc:creator>Will Fitch</dc:creator>
		<pubDate>Wed, 10 Feb 2010 08:43:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=137#comment-10444</guid>
		<description>No problem! Glad it helped.</description>
		<content:encoded><![CDATA[<p>No problem! Glad it helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Chain-of-Command Pattern: OOP Techniques in PHP by Will Fitch</title>
		<link>http://www.willfitch.com/the-chain-of-command-pattern-oop-techniques-in-php.html/comment-page-1#comment-10437</link>
		<dc:creator>Will Fitch</dc:creator>
		<pubDate>Tue, 09 Feb 2010 21:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=160#comment-10437</guid>
		<description>Thanks, Clayton. 

You&#039;re correct on the typo.  

The separation is the execution and &quot;genericism&quot; (a little G W Bush for ya).

Yes, if the $_commands array is empty, we don&#039;t want to attempt to execute the foreach loop.

Clayton, would you be interested in joining the alpha dev team?  If so, shoot me an email.</description>
		<content:encoded><![CDATA[<p>Thanks, Clayton. </p>
<p>You&#8217;re correct on the typo.  </p>
<p>The separation is the execution and &#8220;genericism&#8221; (a little G W Bush for ya).</p>
<p>Yes, if the $_commands array is empty, we don&#8217;t want to attempt to execute the foreach loop.</p>
<p>Clayton, would you be interested in joining the alpha dev team?  If so, shoot me an email.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Singleton Pattern: OOP Techniques in PHP by Will Fitch</title>
		<link>http://www.willfitch.com/the-singleton-pattern-oop-techniques-in-php.html/comment-page-1#comment-10436</link>
		<dc:creator>Will Fitch</dc:creator>
		<pubDate>Tue, 09 Feb 2010 21:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=124#comment-10436</guid>
		<description>Thanks, guys!  I truly appreciate the comments.</description>
		<content:encoded><![CDATA[<p>Thanks, guys!  I truly appreciate the comments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Chain-of-Command Pattern: OOP Techniques in PHP by Clayton</title>
		<link>http://www.willfitch.com/the-chain-of-command-pattern-oop-techniques-in-php.html/comment-page-1#comment-10430</link>
		<dc:creator>Clayton</dc:creator>
		<pubDate>Tue, 09 Feb 2010 15:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=160#comment-10430</guid>
		<description>Just so we&#039;re clear the only separation between this CoC pattern and the Observer pattern, is that the CoC pattern exits the loop the second an object handles the event?

Also in your example there&#039;s &#039;if (count($commands) &gt; 0)&#039; I assume this is a typo and should be &#039;if (count($this-&gt;_commands) &gt; 0)&#039;. In which case, is the if statement required as the foreach wont execute if the array is empty.

Btw I&#039;m looking forward to your Fever Framework.</description>
		<content:encoded><![CDATA[<p>Just so we&#8217;re clear the only separation between this CoC pattern and the Observer pattern, is that the CoC pattern exits the loop the second an object handles the event?</p>
<p>Also in your example there&#8217;s &#8216;if (count($commands) &gt; 0)&#8217; I assume this is a typo and should be &#8216;if (count($this-&gt;_commands) &gt; 0)&#8217;. In which case, is the if statement required as the foreach wont execute if the array is empty.</p>
<p>Btw I&#8217;m looking forward to your Fever Framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Chain-of-Command Pattern: OOP Techniques in PHP by Will Fitch</title>
		<link>http://www.willfitch.com/the-chain-of-command-pattern-oop-techniques-in-php.html/comment-page-1#comment-10424</link>
		<dc:creator>Will Fitch</dc:creator>
		<pubDate>Tue, 09 Feb 2010 08:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=160#comment-10424</guid>
		<description>Both are a subscriber/publisher type of setup. The main difference is purpose. The CoC could be described as a very generic version of the Observer.  The CoC goal is to chain events together and execute until an object handles it.  

The Observer, on the other hand, has specific attributes.  You may have an observer that is specific to database events, service events, etc.  This can also get confused with the Decorator pattern.

The Decorator is actually closer to CoC than Observer.  Rather than executing until an object handles something, the Decorator iterates over all objects to format functionality.  Logging is a good example.  

$log = new Logger();
$log-&gt;addLogger(new FileLogger($file_name));
$log-&gt;addLogger(new DBLogger($db_conn));
..
..
..

$log-&gt;log(&#039;error&#039;,&#039;This is an error!&#039;);

The above logs a single request to multiple sources via a single interface.</description>
		<content:encoded><![CDATA[<p>Both are a subscriber/publisher type of setup. The main difference is purpose. The CoC could be described as a very generic version of the Observer.  The CoC goal is to chain events together and execute until an object handles it.  </p>
<p>The Observer, on the other hand, has specific attributes.  You may have an observer that is specific to database events, service events, etc.  This can also get confused with the Decorator pattern.</p>
<p>The Decorator is actually closer to CoC than Observer.  Rather than executing until an object handles something, the Decorator iterates over all objects to format functionality.  Logging is a good example.  </p>
<p>$log = new Logger();<br />
$log->addLogger(new FileLogger($file_name));<br />
$log->addLogger(new DBLogger($db_conn));<br />
..<br />
..<br />
..</p>
<p>$log->log(&#8216;error&#8217;,'This is an error!&#8217;);</p>
<p>The above logs a single request to multiple sources via a single interface.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Chain-of-Command Pattern: OOP Techniques in PHP by Clayton</title>
		<link>http://www.willfitch.com/the-chain-of-command-pattern-oop-techniques-in-php.html/comment-page-1#comment-10419</link>
		<dc:creator>Clayton</dc:creator>
		<pubDate>Tue, 09 Feb 2010 02:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=160#comment-10419</guid>
		<description>Couldn&#039;t this CoC pattern be described as the Observer pattern?

Looking at it, it would look very similar albeit with a different name.

The basis of both is you have subject and a subscriber. A subject acts as a publisher and a subscriber receives updates from that publisher.

$observer = new Observer();

// You could optionally specify the nature of the subscription, in the second argument
$observer-&gt;subscribe(new Mailer());

// This essentially runs the command
$observer-&gt;publish(&#039;mailer&#039;, array(&#039;address&#039; =&gt; &#039;you@and.me&#039;));


Another example often seen involves the use of events and triggers.
$observer-&gt;addEvent(new Log());
$observer-&gt;trigger(&#039;error&#039;, array());</description>
		<content:encoded><![CDATA[<p>Couldn&#8217;t this CoC pattern be described as the Observer pattern?</p>
<p>Looking at it, it would look very similar albeit with a different name.</p>
<p>The basis of both is you have subject and a subscriber. A subject acts as a publisher and a subscriber receives updates from that publisher.</p>
<p>$observer = new Observer();</p>
<p>// You could optionally specify the nature of the subscription, in the second argument<br />
$observer-&gt;subscribe(new Mailer());</p>
<p>// This essentially runs the command<br />
$observer-&gt;publish(&#8216;mailer&#8217;, array(&#8216;address&#8217; =&gt; &#8216;you@and.me&#8217;));</p>
<p>Another example often seen involves the use of events and triggers.<br />
$observer-&gt;addEvent(new Log());<br />
$observer-&gt;trigger(&#8216;error&#8217;, array());</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing the PHP Fever Framework by Dallas Gutauckis</title>
		<link>http://www.willfitch.com/introducing-the-php-fever-framework.html/comment-page-1#comment-10416</link>
		<dc:creator>Dallas Gutauckis</dc:creator>
		<pubDate>Mon, 08 Feb 2010 22:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=190#comment-10416</guid>
		<description>You should invite me to the private beta ;-)</description>
		<content:encoded><![CDATA[<p>You should invite me to the private beta <img src='http://www.willfitch.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing the PHP Fever Framework by Will Fitch</title>
		<link>http://www.willfitch.com/introducing-the-php-fever-framework.html/comment-page-1#comment-10413</link>
		<dc:creator>Will Fitch</dc:creator>
		<pubDate>Mon, 08 Feb 2010 19:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=190#comment-10413</guid>
		<description>Hi Dallas,

The public beta will be available in a couple of weeks.</description>
		<content:encoded><![CDATA[<p>Hi Dallas,</p>
<p>The public beta will be available in a couple of weeks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Introducing the PHP Fever Framework by Dallas Gutauckis</title>
		<link>http://www.willfitch.com/introducing-the-php-fever-framework.html/comment-page-1#comment-10369</link>
		<dc:creator>Dallas Gutauckis</dc:creator>
		<pubDate>Sat, 06 Feb 2010 17:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/?p=190#comment-10369</guid>
		<description>I&#039;m interested... show me more.</description>
		<content:encoded><![CDATA[<p>I&#8217;m interested&#8230; show me more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLi Tutorial by Michael</title>
		<link>http://www.willfitch.com/mysqli-tutorial.html/comment-page-1#comment-10247</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sat, 30 Jan 2010 04:10:39 +0000</pubDate>
		<guid isPermaLink="false">2131230664#comment-10247</guid>
		<description>Thats cool</description>
		<content:encoded><![CDATA[<p>Thats cool</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple XML (SimpleXML) Tutorial Part 1 by MODx Evolution: Creating a Simple Custom Snippet Part 1 &#8211; Write and Test the PHP Script &#124; The Coding Pad</title>
		<link>http://www.willfitch.com/simplexml-tutorial-part1.html/comment-page-1#comment-9874</link>
		<dc:creator>MODx Evolution: Creating a Simple Custom Snippet Part 1 &#8211; Write and Test the PHP Script &#124; The Coding Pad</dc:creator>
		<pubDate>Wed, 13 Jan 2010 21:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/simple-xml-simplexml-tutorial.html#comment-9874</guid>
		<description>[...] SimpleXML Tutorial on Devzone Will Fitch&#8217;s Tutorial on SimpleXML [...]</description>
		<content:encoded><![CDATA[<p>[...] SimpleXML Tutorial on Devzone Will Fitch&#8217;s Tutorial on SimpleXML [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLi Tutorial by MrBrad</title>
		<link>http://www.willfitch.com/mysqli-tutorial.html/comment-page-1#comment-9788</link>
		<dc:creator>MrBrad</dc:creator>
		<pubDate>Sat, 09 Jan 2010 17:15:17 +0000</pubDate>
		<guid isPermaLink="false">2131230664#comment-9788</guid>
		<description>I believe you have hit the jackpot on a well-done tutorial on MySQLi - spot on.</description>
		<content:encoded><![CDATA[<p>I believe you have hit the jackpot on a well-done tutorial on MySQLi &#8211; spot on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLi Tutorial by harikrishna polu</title>
		<link>http://www.willfitch.com/mysqli-tutorial.html/comment-page-1#comment-9634</link>
		<dc:creator>harikrishna polu</dc:creator>
		<pubDate>Sat, 02 Jan 2010 14:28:19 +0000</pubDate>
		<guid isPermaLink="false">2131230664#comment-9634</guid>
		<description>this is really amazing .... and also presently we are having some good concepts like prepared statements and callable statements present java JDBC. so we can achieve the java performance in php with simle coding ....
thank you php and mysql.</description>
		<content:encoded><![CDATA[<p>this is really amazing &#8230;. and also presently we are having some good concepts like prepared statements and callable statements present java JDBC. so we can achieve the java performance in php with simle coding &#8230;.<br />
thank you php and mysql.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple XML (SimpleXML) Tutorial Part 1 by markaid</title>
		<link>http://www.willfitch.com/simplexml-tutorial-part1.html/comment-page-1#comment-9562</link>
		<dc:creator>markaid</dc:creator>
		<pubDate>Sun, 27 Dec 2009 21:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/simple-xml-simplexml-tutorial.html#comment-9562</guid>
		<description>never knew php could work xml this way. great tut. thanks!</description>
		<content:encoded><![CDATA[<p>never knew php could work xml this way. great tut. thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple XML (SimpleXML) Tutorial Part 1 by Sham Sehgal</title>
		<link>http://www.willfitch.com/simplexml-tutorial-part1.html/comment-page-1#comment-9506</link>
		<dc:creator>Sham Sehgal</dc:creator>
		<pubDate>Tue, 22 Dec 2009 05:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/simple-xml-simplexml-tutorial.html#comment-9506</guid>
		<description>Really nice article.. thanks</description>
		<content:encoded><![CDATA[<p>Really nice article.. thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SOAP Zip Code Web Service! by Will Fitch</title>
		<link>http://www.willfitch.com/soap-zip-code-web-service.html/comment-page-1#comment-9471</link>
		<dc:creator>Will Fitch</dc:creator>
		<pubDate>Sat, 19 Dec 2009 04:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/soap-zip-code-web-service.html#comment-9471</guid>
		<description>As of now, it does not.  I am working on the REST version of this and also updating the database with additional API options.</description>
		<content:encoded><![CDATA[<p>As of now, it does not.  I am working on the REST version of this and also updating the database with additional API options.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple XML (SimpleXML) Tutorial Part 1 by Macoi</title>
		<link>http://www.willfitch.com/simplexml-tutorial-part1.html/comment-page-1#comment-9413</link>
		<dc:creator>Macoi</dc:creator>
		<pubDate>Tue, 15 Dec 2009 09:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfever.com/simple-xml-simplexml-tutorial.html#comment-9413</guid>
		<description>Hello!! thank you! i have been looking for something like this for 2 days. haha.. keep it up. good job. :D</description>
		<content:encoded><![CDATA[<p>Hello!! thank you! i have been looking for something like this for 2 days. haha.. keep it up. good job. <img src='http://www.willfitch.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLi Tutorial by PHP and Mysqli Tutorial &#171; ScottsCreations.com</title>
		<link>http://www.willfitch.com/mysqli-tutorial.html/comment-page-1#comment-9384</link>
		<dc:creator>PHP and Mysqli Tutorial &#171; ScottsCreations.com</dc:creator>
		<pubDate>Sat, 12 Dec 2009 02:29:00 +0000</pubDate>
		<guid isPermaLink="false">2131230664#comment-9384</guid>
		<description>[...] http://www.phpfever.com/mysqli-tutorial.html/comment-page-1#comment-9383 Socialization: [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.phpfever.com/mysqli-tutorial.html/comment-page-1#comment-9383" rel="nofollow">http://www.phpfever.com/mysqli-tutorial.html/comment-page-1#comment-9383</a> Socialization: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLi Tutorial by scott</title>
		<link>http://www.willfitch.com/mysqli-tutorial.html/comment-page-1#comment-9383</link>
		<dc:creator>scott</dc:creator>
		<pubDate>Sat, 12 Dec 2009 02:24:49 +0000</pubDate>
		<guid isPermaLink="false">2131230664#comment-9383</guid>
		<description>Thanks, this helped a ton.</description>
		<content:encoded><![CDATA[<p>Thanks, this helped a ton.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
