<?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 on: Real programming with PHP 5.3 (part 4): A more realistic example</title>
	<atom:link href="http://blog.agilephp.com/2009/06/02/real-programming-with-php-53-part-4-a-more-realistic-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.agilephp.com/2009/06/02/real-programming-with-php-53-part-4-a-more-realistic-example/</link>
	<description>Dagfinn Reiersøl on PHP, agile development, Ruby and other addictive substances</description>
	<lastBuildDate>Fri, 23 Jul 2010 20:17:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ionut G. Stan</title>
		<link>http://blog.agilephp.com/2009/06/02/real-programming-with-php-53-part-4-a-more-realistic-example/comment-page-1/#comment-619</link>
		<dc:creator>Ionut G. Stan</dc:creator>
		<pubDate>Tue, 09 Jun 2009 11:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.agilephp.com/?p=1580#comment-619</guid>
		<description>I&#039;m wondering if this approach doesn&#039;t have the same problem as in JavaScript, i.e. it is better to associate functions with an instance through the prototype (in PHP that would be the &quot;old&quot; way)  than to create a function object for each instance of the class.

I mainly see functions bound to classes for monkey-patching than for use cases like yours when there is basically no benefit.</description>
		<content:encoded><![CDATA[<p>I&#8217;m wondering if this approach doesn&#8217;t have the same problem as in JavaScript, i.e. it is better to associate functions with an instance through the prototype (in PHP that would be the &#8220;old&#8221; way)  than to create a function object for each instance of the class.</p>
<p>I mainly see functions bound to classes for monkey-patching than for use cases like yours when there is basically no benefit.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
