<?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: Do You Really Need a Framework for Writing PHP?</title>
	<atom:link href="http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/</link>
	<description>Created and Designed for Object Oriented PHP and Web Developers</description>
	<lastBuildDate>Wed, 10 Mar 2010 16:02:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: anthony</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-2592</link>
		<dc:creator>anthony</dc:creator>
		<pubDate>Tue, 27 Oct 2009 03:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-2592</guid>
		<description>Great replies above. I&#039;ve been coding php for around 6 years now. I taught myself and like many that taught themselves, wrote the same queries and scripts over and over and over at first. Then you figure out how functions work and start making yourself a library of reusable code. With your personal library, you craft new applications quicker. From your libraries and hard learned lessons writing raw php. Personally, I wouldn&#039;t recommend anyone jump head first into frameworks with PHP. Mostly, because you need to understand how things work and code some sites in a procedural way to gain some necessary experience with PHP. 
 
However, once you get far enough along, coding in a OO fashion using MVC is like a breath of fresh air. Especially for sites that a larger and more complex. Of course you can you craft your own framework, but why when there are tons of great frameworks and code libraries out there (that have large user bases). I&#039;m using Kohana and it&#039;s cut down development time from my old way of developing considerably. I wouldn&#039;t trade my knocks I took from learning php though. The more you know about coding raw PHP before working with a framework, the far better off you will be and be able to customize a framework to your liking. </description>
		<content:encoded><![CDATA[<p>Great replies above. I&#039;ve been coding php for around 6 years now. I taught myself and like many that taught themselves, wrote the same queries and scripts over and over and over at first. Then you figure out how functions work and start making yourself a library of reusable code. With your personal library, you craft new applications quicker. From your libraries and hard learned lessons writing raw php. Personally, I wouldn&#039;t recommend anyone jump head first into frameworks with PHP. Mostly, because you need to understand how things work and code some sites in a procedural way to gain some necessary experience with PHP. </p>
<p>However, once you get far enough along, coding in a OO fashion using MVC is like a breath of fresh air. Especially for sites that a larger and more complex. Of course you can you craft your own framework, but why when there are tons of great frameworks and code libraries out there (that have large user bases). I&#039;m using Kohana and it&#039;s cut down development time from my old way of developing considerably. I wouldn&#039;t trade my knocks I took from learning php though. The more you know about coding raw PHP before working with a framework, the far better off you will be and be able to customize a framework to your liking.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglas Brown</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-2223</link>
		<dc:creator>Douglas Brown</dc:creator>
		<pubDate>Tue, 17 Mar 2009 12:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-2223</guid>
		<description>Thank you for the very insightful comment.  I tend to agree with your opinion. A lot of developers I feel put too much stock into frameworks.</description>
		<content:encoded><![CDATA[<p>Thank you for the very insightful comment.  I tend to agree with your opinion. A lot of developers I feel put too much stock into frameworks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-2205</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Mon, 16 Mar 2009 23:33:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-2205</guid>
		<description>This is just my opinion: 

My main issue with a lot of php frameworks is that they tend to force the developer to:

build an application from a framework, rather than building a framework for a needed application. 

eg. if you needed a motorcycle, you wouldn&#039;t build it from a car(where php is the engine).

Plus if you dont get under the hood of these frameworks, and understand it, you&#039;ll essentially be a driver rather than a mechanic of a php framework.

If you are using the Zend framework, you need to be v aware of the structure, which to my eye may be overly complex for most projects. Getting rid of spagetti code and replacing it with spagetti structure, IMHO.

View the structure here:http://talks.php.net/presentations/slides/intro/zf.png

Recently Rasmus Lerdorf (creator of php), gave an interesting talk on the subject of php and its frameworks, it may give you a clearer insight into you use of php ?

Video of talk http://www.archive.org/details/simple_is_hard
Slides of talk http://talks.php.net/show/drupal08</description>
		<content:encoded><![CDATA[<p>This is just my opinion: </p>
<p>My main issue with a lot of php frameworks is that they tend to force the developer to:</p>
<p>build an application from a framework, rather than building a framework for a needed application. </p>
<p>eg. if you needed a motorcycle, you wouldn&#8217;t build it from a car(where php is the engine).</p>
<p>Plus if you dont get under the hood of these frameworks, and understand it, you&#8217;ll essentially be a driver rather than a mechanic of a php framework.</p>
<p>If you are using the Zend framework, you need to be v aware of the structure, which to my eye may be overly complex for most projects. Getting rid of spagetti code and replacing it with spagetti structure, IMHO.</p>
<p>View the structure here:http://talks.php.net/presentations/slides/intro/zf.png</p>
<p>Recently Rasmus Lerdorf (creator of php), gave an interesting talk on the subject of php and its frameworks, it may give you a clearer insight into you use of php ?</p>
<p>Video of talk <a href="http://www.archive.org/details/simple_is_hard" rel="nofollow">http://www.archive.org/details/simple_is_hard</a><br />
Slides of talk <a href="http://talks.php.net/show/drupal08" rel="nofollow">http://talks.php.net/show/drupal08</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ronny stalker</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-1475</link>
		<dc:creator>ronny stalker</dc:creator>
		<pubDate>Sun, 01 Feb 2009 17:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-1475</guid>
		<description>@luke
I agree with you Luke, and ZF had a very similar influence on me. The first time I read the docs, when ZF was young, it inspired me to get into OOP. It was the moment when I decided to buy and read the PHP 5 Objects, Patterns &amp; Practice Book (Matt Zandstra - Apress) - which changed my, php, life for the better.

In my previous comment I wasn&#039;t moaning that ZF is thoroughly documented. I was expressing my anguish that it can take a long time to learn a framework. When I first started reading about frameworks i got moved by the hype thinking that i had been slogging away &#039;coding the hard way&#039; whilst, all a long, a miraculous &#039;easy way&#039; had been there for the taking...
&quot;In 15 minutes, we go from scratch to complete weblog engine with comments, ajax, an ATOM feed...&quot;etc http://rubyonrails.org/screencasts

The point is - its not as miraculous as the the hype says it is. Its still hard learning. But, as Vip says, once mastered it can do wonders.

Anyway - Vip puts it much better than i did:

&quot;4. if you decide to use Frameworks, be ready for a long learning curve to master it, but it’s important to master it to make full use of it&quot;</description>
		<content:encoded><![CDATA[<p>@luke<br />
I agree with you Luke, and ZF had a very similar influence on me. The first time I read the docs, when ZF was young, it inspired me to get into OOP. It was the moment when I decided to buy and read the PHP 5 Objects, Patterns &amp; Practice Book (Matt Zandstra &#8211; Apress) &#8211; which changed my, php, life for the better.</p>
<p>In my previous comment I wasn&#8217;t moaning that ZF is thoroughly documented. I was expressing my anguish that it can take a long time to learn a framework. When I first started reading about frameworks i got moved by the hype thinking that i had been slogging away &#8216;coding the hard way&#8217; whilst, all a long, a miraculous &#8216;easy way&#8217; had been there for the taking&#8230;<br />
&#8220;In 15 minutes, we go from scratch to complete weblog engine with comments, ajax, an ATOM feed&#8230;&#8221;etc <a href="http://rubyonrails.org/screencasts" rel="nofollow">http://rubyonrails.org/screencasts</a></p>
<p>The point is &#8211; its not as miraculous as the the hype says it is. Its still hard learning. But, as Vip says, once mastered it can do wonders.</p>
<p>Anyway &#8211; Vip puts it much better than i did:</p>
<p>&#8220;4. if you decide to use Frameworks, be ready for a long learning curve to master it, but it’s important to master it to make full use of it&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-1142</link>
		<dc:creator>Marco</dc:creator>
		<pubDate>Sun, 18 Jan 2009 08:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-1142</guid>
		<description>The divide between &quot;professionals&quot; and &quot;hobby geeks turned paid monkey&quot; is quite obvious.  Much like everything else in life people keep looking for ONE way to do everything.  It doesn&#039;t exist.

For every code junkie that thinks writing their own library/framework is better than getting whole heartedly behind a framework is better - there&#039;s a reason your life is the way it is and why you&#039;ll have a very hard time becoming VP.  You&#039;re selfish, insecure and afraid.

Selfish because you keep focusing on your convenience and habitual patterns instead of the company&#039;s bottom line.  Insecure because rolling your own libraries makes you feel important and irreplaceable, after all who knows your code better than you?  Afraid because joining a community of true professionals and freely contributing forces you to be scrutinized and to continually challenge yourself to increase your skill set.

There are millions of people who can get the job done.  There are millions of people just like you all over the internet.  There are kids in India right now that would steal your job for less than 1/10th what they pay you and you better believe they&#039;re crawling the web trying to learn more.

At the end of the day us little people at the bottom have to focus on the objectives of those at the top.  We are part of a massive global economic system with the internet becoming more accessible.  Information is free.  Programmer&#039;s are losing their value.  Big business need business leader&#039;s not just code junkies.  When you align yourself to the company&#039;s bottom line - ecreased expenses, ridiculous deadline, time-to-market, return-on-investment, competition, increased profitability, etc., etc. - you will find yourself

Keep in mind the things like PEAR, PCEL and other &quot;collections&quot; are already widespread.  The benefit of frameworks and widely supported libraries is that they have the opportunity to be stress tested through a greater variety of actual use scenarios that your private code doesn&#039;t get.  Also, from an enterprise perspective (you know the people that pay your salary) they are going to be very interested in long term product support, maintainability, scaling, project cost, etc.  

Building your application of top of a popular and widely supported framework, especially one like Zend Framework which works hard to maintain an enterprise friendly brand and support system is the difference between whether or not you&#039;ll have a job in five years.  Zend&#039;s name and certification system is what enterprises will place their confidence in.  So you can jump in wholeheartedly, contribute to make the framework better or look for another line of work because you&#039;ll be replaced by someone who is not only technically competent and skill but also a great business focused leader.



If you want a life that is more well rounded and free from the plagues that affect over 97% of the world then you must be swift to discern it&#039;s patterns and run in the opposite direction.  Flexibility is freedom.</description>
		<content:encoded><![CDATA[<p>The divide between &#8220;professionals&#8221; and &#8220;hobby geeks turned paid monkey&#8221; is quite obvious.  Much like everything else in life people keep looking for ONE way to do everything.  It doesn&#8217;t exist.</p>
<p>For every code junkie that thinks writing their own library/framework is better than getting whole heartedly behind a framework is better &#8211; there&#8217;s a reason your life is the way it is and why you&#8217;ll have a very hard time becoming VP.  You&#8217;re selfish, insecure and afraid.</p>
<p>Selfish because you keep focusing on your convenience and habitual patterns instead of the company&#8217;s bottom line.  Insecure because rolling your own libraries makes you feel important and irreplaceable, after all who knows your code better than you?  Afraid because joining a community of true professionals and freely contributing forces you to be scrutinized and to continually challenge yourself to increase your skill set.</p>
<p>There are millions of people who can get the job done.  There are millions of people just like you all over the internet.  There are kids in India right now that would steal your job for less than 1/10th what they pay you and you better believe they&#8217;re crawling the web trying to learn more.</p>
<p>At the end of the day us little people at the bottom have to focus on the objectives of those at the top.  We are part of a massive global economic system with the internet becoming more accessible.  Information is free.  Programmer&#8217;s are losing their value.  Big business need business leader&#8217;s not just code junkies.  When you align yourself to the company&#8217;s bottom line &#8211; ecreased expenses, ridiculous deadline, time-to-market, return-on-investment, competition, increased profitability, etc., etc. &#8211; you will find yourself</p>
<p>Keep in mind the things like PEAR, PCEL and other &#8220;collections&#8221; are already widespread.  The benefit of frameworks and widely supported libraries is that they have the opportunity to be stress tested through a greater variety of actual use scenarios that your private code doesn&#8217;t get.  Also, from an enterprise perspective (you know the people that pay your salary) they are going to be very interested in long term product support, maintainability, scaling, project cost, etc.  </p>
<p>Building your application of top of a popular and widely supported framework, especially one like Zend Framework which works hard to maintain an enterprise friendly brand and support system is the difference between whether or not you&#8217;ll have a job in five years.  Zend&#8217;s name and certification system is what enterprises will place their confidence in.  So you can jump in wholeheartedly, contribute to make the framework better or look for another line of work because you&#8217;ll be replaced by someone who is not only technically competent and skill but also a great business focused leader.</p>
<p>If you want a life that is more well rounded and free from the plagues that affect over 97% of the world then you must be swift to discern it&#8217;s patterns and run in the opposite direction.  Flexibility is freedom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vip</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-523</link>
		<dc:creator>Vip</dc:creator>
		<pubDate>Wed, 07 Jan 2009 07:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-523</guid>
		<description>Best Advice:
1. master PHP before learning Frameworks or you&#039;ll be stunted
2. don&#039;t use Frameworks for small projects
3. if you can come up with your own Framework, so much the better, since you&#039;ll have complete control
4. if you decide to use Frameworks, be ready for a long learning curve to master it, but it&#039;s important to master it to make full use of it
5. choose a Framework that&#039;s fast, well-designed, good documentation, good community</description>
		<content:encoded><![CDATA[<p>Best Advice:<br />
1. master PHP before learning Frameworks or you&#8217;ll be stunted<br />
2. don&#8217;t use Frameworks for small projects<br />
3. if you can come up with your own Framework, so much the better, since you&#8217;ll have complete control<br />
4. if you decide to use Frameworks, be ready for a long learning curve to master it, but it&#8217;s important to master it to make full use of it<br />
5. choose a Framework that&#8217;s fast, well-designed, good documentation, good community</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Barton</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-348</link>
		<dc:creator>Luke Barton</dc:creator>
		<pubDate>Wed, 24 Dec 2008 08:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-348</guid>
		<description>I&#039;m a Zend Framework user.

About 2 years ago, Zend Framework was responsible for pushing me over to OO PHP. I wholly hold ZF responsible for that, it provided the mechanism for me to learn. It also taught me the MVC pattern as well as enabling me to recognise OO patterns such as Registry, Singleton and Factory. 

Simple stuff I know but 2 years ago, I hadn&#039;t a clue.

@ronny
You&#039;re &#039;complaining&#039; because ZF has a &#039;short novel&#039; to read when you want to use a component. True. I&#039;d rather have a short novel if it means use cases, code examples and explanation, than something half-baked.

It&#039;s proper documentation, it&#039;s actually useful when you can&#039;t remember how to use minorMethodFoo(), rather than rely on hand-me-down knowledge or use the API to work it out yourself. It&#039;s 95% there, with examples, with use cases, if theres an alternate interface, it&#039;s most likely documented. It&#039;s something to be positive about, it&#039;s not a barrier. It&#039;s there to help you when you don&#039;t know already, you can use it to help yourself. There is very little need to ask someone else if what your asking about is already in front of you.

Also, You don&#039;t need to read the whole documentation about a component before using it, much like you don&#039;t need to read the whole recipe before fetching the ingredients.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a Zend Framework user.</p>
<p>About 2 years ago, Zend Framework was responsible for pushing me over to OO PHP. I wholly hold ZF responsible for that, it provided the mechanism for me to learn. It also taught me the MVC pattern as well as enabling me to recognise OO patterns such as Registry, Singleton and Factory. </p>
<p>Simple stuff I know but 2 years ago, I hadn&#8217;t a clue.</p>
<p>@ronny<br />
You&#8217;re &#8216;complaining&#8217; because ZF has a &#8217;short novel&#8217; to read when you want to use a component. True. I&#8217;d rather have a short novel if it means use cases, code examples and explanation, than something half-baked.</p>
<p>It&#8217;s proper documentation, it&#8217;s actually useful when you can&#8217;t remember how to use minorMethodFoo(), rather than rely on hand-me-down knowledge or use the API to work it out yourself. It&#8217;s 95% there, with examples, with use cases, if theres an alternate interface, it&#8217;s most likely documented. It&#8217;s something to be positive about, it&#8217;s not a barrier. It&#8217;s there to help you when you don&#8217;t know already, you can use it to help yourself. There is very little need to ask someone else if what your asking about is already in front of you.</p>
<p>Also, You don&#8217;t need to read the whole documentation about a component before using it, much like you don&#8217;t need to read the whole recipe before fetching the ingredients.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitch</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-288</link>
		<dc:creator>Mitch</dc:creator>
		<pubDate>Mon, 22 Dec 2008 13:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-288</guid>
		<description>Brad,

There&#039;s already a solution available to companies in order to maintain consistency among their coders: code reviews.  Within my team we are not allowed to push any of our own code to production servers.  Every line of code is reviewed before it is pushed to production.  This adds time to the process, but it saves time in the long run with conventions compliant code that all of our developers are familiar with.

When I was a young, would-be Marine on Parris Island a Drill Instructor told my platoon something while learning to drill that has been surprisingly  influential in my life.  He said, &quot;Slow is smooth, smooth is fast.&quot;  A note we should all keep in mind when programming.</description>
		<content:encoded><![CDATA[<p>Brad,</p>
<p>There&#8217;s already a solution available to companies in order to maintain consistency among their coders: code reviews.  Within my team we are not allowed to push any of our own code to production servers.  Every line of code is reviewed before it is pushed to production.  This adds time to the process, but it saves time in the long run with conventions compliant code that all of our developers are familiar with.</p>
<p>When I was a young, would-be Marine on Parris Island a Drill Instructor told my platoon something while learning to drill that has been surprisingly  influential in my life.  He said, &#8220;Slow is smooth, smooth is fast.&#8221;  A note we should all keep in mind when programming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-285</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sun, 21 Dec 2008 21:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-285</guid>
		<description>I think an important aspect of using a framework is consistency and maintainability.  When working in a team, or when developers come and go ( as they always do), it is invaluable to have a consistent approach, with documentation and tutorials for new developers to ramp up to speed with.  While developers may learn more by pioneering our own approaches ( and I encourage this outsiode of critical projects), it can cause a lot of grief for a company or developers left to maintain projects that do everything their own way.</description>
		<content:encoded><![CDATA[<p>I think an important aspect of using a framework is consistency and maintainability.  When working in a team, or when developers come and go ( as they always do), it is invaluable to have a consistent approach, with documentation and tutorials for new developers to ramp up to speed with.  While developers may learn more by pioneering our own approaches ( and I encourage this outsiode of critical projects), it can cause a lot of grief for a company or developers left to maintain projects that do everything their own way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ronny stalker</title>
		<link>http://www.brownphp.com/2008/12/do-you-really-need-a-framework-for-writing-php/comment-page-1/#comment-281</link>
		<dc:creator>ronny stalker</dc:creator>
		<pubDate>Sun, 21 Dec 2008 05:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.brownphp.com/?p=37#comment-281</guid>
		<description>I&#039;ve been teetering on the edge of using Zend framework for ages.
Every so often i go through a process of:

 * php script needs writing / amending
 * oh Zend Framework has a solution
 * blimey i&#039;ve got to read a short novel of documentation before i can implement this simple functionality
 * it&#039;d be quicker just to write it myself, from scratch + my own library of code

By this time I&#039;m feeling fed-up that i&#039;d wasted so much time investigating the option of using the framework and groan when i read things like &quot;So just choose a framework and start coding!&quot;.

I know that its better in the long run to use a framework - for team work etc.
But , I just never seem to be able to justify the time to learn them. Especially when i can get a particular task done quicker by using my own, stuck-in-my-ways, methods.

I think frameworks are only &quot;AMAZING&quot; for writing &#039;new applications&#039;. I&#039;ve found it very painful trying to plug it into my existing code. 

In summary:  I think Zend Framework is amazing - i just wish i had the time to learn how to harness it.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been teetering on the edge of using Zend framework for ages.<br />
Every so often i go through a process of:</p>
<p> * php script needs writing / amending<br />
 * oh Zend Framework has a solution<br />
 * blimey i&#8217;ve got to read a short novel of documentation before i can implement this simple functionality<br />
 * it&#8217;d be quicker just to write it myself, from scratch + my own library of code</p>
<p>By this time I&#8217;m feeling fed-up that i&#8217;d wasted so much time investigating the option of using the framework and groan when i read things like &#8220;So just choose a framework and start coding!&#8221;.</p>
<p>I know that its better in the long run to use a framework &#8211; for team work etc.<br />
But , I just never seem to be able to justify the time to learn them. Especially when i can get a particular task done quicker by using my own, stuck-in-my-ways, methods.</p>
<p>I think frameworks are only &#8220;AMAZING&#8221; for writing &#8216;new applications&#8217;. I&#8217;ve found it very painful trying to plug it into my existing code. </p>
<p>In summary:  I think Zend Framework is amazing &#8211; i just wish i had the time to learn how to harness it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
