<?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: Includes are not functions</title>
	<atom:link href="http://joshduck.com/blog/2010/07/28/includes-are-not-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshduck.com/blog/2010/07/28/includes-are-not-functions/</link>
	<description>It's a blog about the web, by Josh. Geddit?</description>
	<lastBuildDate>Mon, 31 Jan 2011 18:23:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Tony</title>
		<link>http://joshduck.com/blog/2010/07/28/includes-are-not-functions/comment-page-1/#comment-19072</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Sat, 30 Oct 2010 13:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://joshduck.com/blog/?p=173#comment-19072</guid>
		<description>As David said, this is widespread in &quot;commercial&quot; products. It&#039;s frustrating when trying to extend functionality within one of these packages. But I guess it&#039;s just one of the pitfalls of an industry that seems to have few set-in-stone rules.</description>
		<content:encoded><![CDATA[<p>As David said, this is widespread in &#8220;commercial&#8221; products. It&#8217;s frustrating when trying to extend functionality within one of these packages. But I guess it&#8217;s just one of the pitfalls of an industry that seems to have few set-in-stone rules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://joshduck.com/blog/2010/07/28/includes-are-not-functions/comment-page-1/#comment-11716</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Mon, 06 Sep 2010 00:17:48 +0000</pubDate>
		<guid isPermaLink="false">http://joshduck.com/blog/?p=173#comment-11716</guid>
		<description>@hyperlexic. Dependency injection is going above and beyond what I&#039;ve discussed here. This post was a primer for PHP hackers who are relying on these kind of anti-patterns when they should be using more appropriate language features. In an ideal world the post would be unecessary, but from code I see out there in the wild there are lots of people who have no idea how to combine function and includes in a way that is maintainable and extendable.

Dependancy injection also requires a strict object oriented programming style. PHP, more than any other language I&#039;ve worked with, has a 
wide range of programming styles; from strict OO, mixed procedural and OO, purely procedural and even spaghetti code that runs top-to-bottom without a function declaration in sight.</description>
		<content:encoded><![CDATA[<p>@hyperlexic. Dependency injection is going above and beyond what I&#8217;ve discussed here. This post was a primer for PHP hackers who are relying on these kind of anti-patterns when they should be using more appropriate language features. In an ideal world the post would be unecessary, but from code I see out there in the wild there are lots of people who have no idea how to combine function and includes in a way that is maintainable and extendable.</p>
<p>Dependancy injection also requires a strict object oriented programming style. PHP, more than any other language I&#8217;ve worked with, has a<br />
wide range of programming styles; from strict OO, mixed procedural and OO, purely procedural and even spaghetti code that runs top-to-bottom without a function declaration in sight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hyperlexic</title>
		<link>http://joshduck.com/blog/2010/07/28/includes-are-not-functions/comment-page-1/#comment-11686</link>
		<dc:creator>hyperlexic</dc:creator>
		<pubDate>Sun, 05 Sep 2010 08:11:04 +0000</pubDate>
		<guid isPermaLink="false">http://joshduck.com/blog/?p=173#comment-11686</guid>
		<description>how does this differ from the &#039;good practice&#039; of including class dependencies to instantiate new objects? or even in the popular MVC frameworks that function on the concept of &#039;including&#039; libraries, helpers, models etc even if it&#039;s abstracted through some global &#039;loader&#039; obhect? same thing.</description>
		<content:encoded><![CDATA[<p>how does this differ from the &#8216;good practice&#8217; of including class dependencies to instantiate new objects? or even in the popular MVC frameworks that function on the concept of &#8216;including&#8217; libraries, helpers, models etc even if it&#8217;s abstracted through some global &#8216;loader&#8217; obhect? same thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chrelad</title>
		<link>http://joshduck.com/blog/2010/07/28/includes-are-not-functions/comment-page-1/#comment-11239</link>
		<dc:creator>chrelad</dc:creator>
		<pubDate>Thu, 26 Aug 2010 02:39:42 +0000</pubDate>
		<guid isPermaLink="false">http://joshduck.com/blog/?p=173#comment-11239</guid>
		<description>Very well said, I couldn&#039;t agree more :) Leads to mass confusion.</description>
		<content:encoded><![CDATA[<p>Very well said, I couldn&#8217;t agree more <img src='http://joshduck.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Leads to mass confusion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://joshduck.com/blog/2010/07/28/includes-are-not-functions/comment-page-1/#comment-11171</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 24 Aug 2010 14:49:21 +0000</pubDate>
		<guid isPermaLink="false">http://joshduck.com/blog/?p=173#comment-11171</guid>
		<description>I see this kind of stuff all the time in &quot;commercial&quot; products. Thanks for posting about it. It made me smile. =)</description>
		<content:encoded><![CDATA[<p>I see this kind of stuff all the time in &#8220;commercial&#8221; products. Thanks for posting about it. It made me smile. =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

