<?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"
	>
<channel>
	<title>Comments on: PHP Design Patterns - when should they be used?</title>
	<atom:link href="http://www.killerphp.com/articles/php-design-patterns/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.killerphp.com/articles/php-design-patterns/</link>
	<description>Dedicated to teaching web designers PHP.</description>
	<pubDate>Fri, 21 Nov 2008 19:33:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Doug @ Straw Dogs</title>
		<link>http://www.killerphp.com/articles/php-design-patterns/#comment-29870</link>
		<dc:creator>Doug @ Straw Dogs</dc:creator>
		<pubDate>Sun, 23 Sep 2007 00:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/php-design-patterns/#comment-29870</guid>
		<description>I rarely use design patterns in my PHP projects and seldom even use OO techniques.  PHP has never really felt like a natural OO language and as such using design patterns in PHP code feels very strange and generally causes more trouble than its worth.

The MVC pattern is very common-place though and I think even small-scale projects can benefit from its use.</description>
		<content:encoded><![CDATA[<p>I rarely use design patterns in my PHP projects and seldom even use OO techniques.  PHP has never really felt like a natural OO language and as such using design patterns in PHP code feels very strange and generally causes more trouble than its worth.</p>
<p>The MVC pattern is very common-place though and I think even small-scale projects can benefit from its use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hasin</title>
		<link>http://www.killerphp.com/articles/php-design-patterns/#comment-36</link>
		<dc:creator>Hasin</dc:creator>
		<pubDate>Thu, 17 Aug 2006 02:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/php-design-patterns/#comment-36</guid>
		<description>Stefan, some design patterns really helps to clean up your code and improve the performance. For a single page application no ones implement design patterns, for sure. But if you just use some basic OO and your application is full of classes which you need to cooperate often, I dont think there is any alternative but using design patterns. For example I can say Factory, Singleton are very basic design patterns and you know, every programmer should use them in their code, to avoid lousy coding and performance.

AOP and MVC is something which you should think when your application just just cross the boundary of "small-application". But what if you implement MVC (I am meaning existing large scale frameworks) but you can just implement the MVC, if you think that it may help to maintain the code. 

For a single developer project design pattern and these issues are less effective than a multi developer project. You know these things are invented just to maintain the usability of you code. So if there is no chance of reusing your code and no chance that in next few years you wont open old code files, why bother using design patterns? 

I think Design patterns is much more effective on the context of Ruby and Java. PHP developers can still go boom without using it. But better learning it and practising patterns like Singleton, Factory, MVC and Active Record will also increase your market value which is not avoidable at all. 

Thanks for writing a cool article. 

Hasin Hayder
Zend Certified Engineer</description>
		<content:encoded><![CDATA[<p>Stefan, some design patterns really helps to clean up your code and improve the performance. For a single page application no ones implement design patterns, for sure. But if you just use some basic OO and your application is full of classes which you need to cooperate often, I dont think there is any alternative but using design patterns. For example I can say Factory, Singleton are very basic design patterns and you know, every programmer should use them in their code, to avoid lousy coding and performance.</p>
<p>AOP and MVC is something which you should think when your application just just cross the boundary of &#8220;small-application&#8221;. But what if you implement MVC (I am meaning existing large scale frameworks) but you can just implement the MVC, if you think that it may help to maintain the code. </p>
<p>For a single developer project design pattern and these issues are less effective than a multi developer project. You know these things are invented just to maintain the usability of you code. So if there is no chance of reusing your code and no chance that in next few years you wont open old code files, why bother using design patterns? </p>
<p>I think Design patterns is much more effective on the context of Ruby and Java. PHP developers can still go boom without using it. But better learning it and practising patterns like Singleton, Factory, MVC and Active Record will also increase your market value which is not avoidable at all. </p>
<p>Thanks for writing a cool article. </p>
<p>Hasin Hayder<br />
Zend Certified Engineer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stefan</title>
		<link>http://www.killerphp.com/articles/php-design-patterns/#comment-29</link>
		<dc:creator>stefan</dc:creator>
		<pubDate>Wed, 16 Aug 2006 05:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/php-design-patterns/#comment-29</guid>
		<description>@root,

This was not intended to be an in depth examination of specific design patterns ... I just wanted to make the point that we should not try to over-engineer projects.

"This is not revelation"

... Perhaps not, but the Java community would have done well by this a few years ago.

I was only trying to offer experience from a Java developer (since 2000) who has seen some crazy things in Java - things that the php world should avoid.

Final point, this website was put up to help total beginners .. web designers. For experienced people, some of the things I cover may bore them.

That said, my articles and videos will address more advanced concepts in time. 

-

To be honest, I have to check into where the PHP community stands in terms of their level of sophistication:

Do you still design by inheritance or have you seen that it is better to design by interfaces? How about AOP or dependency injection ... does object oriented PHP support those designs?</description>
		<content:encoded><![CDATA[<p>@root,</p>
<p>This was not intended to be an in depth examination of specific design patterns &#8230; I just wanted to make the point that we should not try to over-engineer projects.</p>
<p>&#8220;This is not revelation&#8221;</p>
<p>&#8230; Perhaps not, but the Java community would have done well by this a few years ago.</p>
<p>I was only trying to offer experience from a Java developer (since 2000) who has seen some crazy things in Java - things that the php world should avoid.</p>
<p>Final point, this website was put up to help total beginners .. web designers. For experienced people, some of the things I cover may bore them.</p>
<p>That said, my articles and videos will address more advanced concepts in time. </p>
<p>-</p>
<p>To be honest, I have to check into where the PHP community stands in terms of their level of sophistication:</p>
<p>Do you still design by inheritance or have you seen that it is better to design by interfaces? How about AOP or dependency injection &#8230; does object oriented PHP support those designs?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: root</title>
		<link>http://www.killerphp.com/articles/php-design-patterns/#comment-28</link>
		<dc:creator>root</dc:creator>
		<pubDate>Wed, 16 Aug 2006 04:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/php-design-patterns/#comment-28</guid>
		<description>And what ?
Where is exapmles ?

This is not revelation

(-1)</description>
		<content:encoded><![CDATA[<p>And what ?<br />
Where is exapmles ?</p>
<p>This is not revelation</p>
<p>(-1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPDeveloper.org</title>
		<link>http://www.killerphp.com/articles/php-design-patterns/#comment-7</link>
		<dc:creator>PHPDeveloper.org</dc:creator>
		<pubDate>Mon, 07 Aug 2006 12:45:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.killerphp.com/articles/php-design-patterns/#comment-7</guid>
		<description>&lt;strong&gt;KillerPHP.com: PHP Design Patterns - when should they be used?...&lt;/strong&gt;

...</description>
		<content:encoded><![CDATA[<p><strong>KillerPHP.com: PHP Design Patterns - when should they be used?&#8230;</strong></p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
