<?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: PHP is a framework</title>
	<atom:link href="http://www.artfulcode.net/articles/php-is-a-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artfulcode.net/articles/php-is-a-framework/</link>
	<description>Resources and tips for dynamic, interactive languages.</description>
	<lastBuildDate>Mon, 23 Jan 2012 14:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: PRSoluções &#187; Blog Arquivo &#187; PHP, Java, Ruby on Rails - Existe um vencedor?</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1134</link>
		<dc:creator>PRSoluções &#187; Blog Arquivo &#187; PHP, Java, Ruby on Rails - Existe um vencedor?</dc:creator>
		<pubDate>Tue, 19 May 2009 04:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1134</guid>
		<description>[...] http://www.artfulcode.net/articles/php-is-a-framework/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.artfulcode.net/articles/php-is-a-framework/" rel="nofollow">http://www.artfulcode.net/articles/php-is-a-framework/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandr Ciornii</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1130</link>
		<dc:creator>Alexandr Ciornii</dc:creator>
		<pubDate>Sat, 16 May 2009 21:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1130</guid>
		<description>You should look at HTML::Mason in Perl - same functionality and much more. HTML::Mason is an OOP for templates.

So, PHP is not a framework - it is half of a simplified framework - template language.</description>
		<content:encoded><![CDATA[<p>You should look at HTML::Mason in Perl &#8211; same functionality and much more. HTML::Mason is an OOP for templates.</p>
<p>So, PHP is not a framework &#8211; it is half of a simplified framework &#8211; template language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1129</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sat, 16 May 2009 20:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1129</guid>
		<description>I don&#039;t argue with that at all. In fact, what I was saying was that PHP has its own idiomatic method for dealing with forms that is quite high level and abstract that makes using a framework in PHP unnecessary.

I think that Django is an excellent framework, and I have devoted quite a bit of time to replicating in PHP some of the needs that Django fulfills. My point was not whether PHP or Python/Ruby/Perl/Java + framework of choice is the one true Way. My argument is that PHP is itself a framework for writing web-based apps, and using a framework on top of it is an unnecessary abstraction that serves to drastically reduce the power of the language itself by forcing an idiom on the programmer that does not fit the language.

I would further argue that SQL would not benefit from a &quot;query framework&quot; because it *is* the query framework; it is already a language for describing database queries.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t argue with that at all. In fact, what I was saying was that PHP has its own idiomatic method for dealing with forms that is quite high level and abstract that makes using a framework in PHP unnecessary.</p>
<p>I think that Django is an excellent framework, and I have devoted quite a bit of time to replicating in PHP some of the needs that Django fulfills. My point was not whether PHP or Python/Ruby/Perl/Java + framework of choice is the one true Way. My argument is that PHP is itself a framework for writing web-based apps, and using a framework on top of it is an unnecessary abstraction that serves to drastically reduce the power of the language itself by forcing an idiom on the programmer that does not fit the language.</p>
<p>I would further argue that SQL would not benefit from a &#8220;query framework&#8221; because it *is* the query framework; it is already a language for describing database queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: josh</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1128</link>
		<dc:creator>josh</dc:creator>
		<pubDate>Sat, 16 May 2009 20:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1128</guid>
		<description>Your comparison to Django is a straw man. You can easily do the same thing in Django to manually write out form inputs.  However, Django&#039;s Form objects do far more than the seemingly equivalent PHP snippet you posted.  Django allows you to generate the form object from your model object, which can be rendered to the page and read back in from the POST hash map directly to a model object and saved into the ORM, all in a few lines of code.  It&#039;s not what you would do for every single form, but you&#039;re comparing apples to oranges.</description>
		<content:encoded><![CDATA[<p>Your comparison to Django is a straw man. You can easily do the same thing in Django to manually write out form inputs.  However, Django&#8217;s Form objects do far more than the seemingly equivalent PHP snippet you posted.  Django allows you to generate the form object from your model object, which can be rendered to the page and read back in from the POST hash map directly to a model object and saved into the ORM, all in a few lines of code.  It&#8217;s not what you would do for every single form, but you&#8217;re comparing apples to oranges.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iongion</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1127</link>
		<dc:creator>iongion</dc:creator>
		<pubDate>Sat, 16 May 2009 15:35:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1127</guid>
		<description>If PHP is a framework, it is now obsolete.

While PHP is really simple for simple things, it is &quot;unusable&quot; for complex ones (not that you can not do almost &quot;anything&quot; in PHP, but the way you achieve it makes it unexplainable for newcomers and soon gets unmaintainable, therefore it is virtually unusable).

While using one of the other &quot;web frameworks&quot;, no matter in what language a framework is developed, it will always be a love hate relationship between a language and a framework (i might exclude groovy because it is developed in parallel by the same people who build the framework (grails), so the developers would be biased towards introducing new language features, because of the needs of the framework).

And back to &quot;the problem&quot; when using frameworks ... you cannot trust frameworks. Frameworks evolve, and usually frameworks are not backward compatible and they are not maintained, usually, the sole pursue of framework developers is to develop new things and to do &quot;old&quot; things differently, &quot;better&quot;.

This will most likely cause your application to break.

If you trust your PHP skills, i strongly recommend not using any framework at all, but build your own stuff and reuse as much as you can. (i think more than half of PHP developers worldwide are developing in &quot;solo&quot; mode).

In this way you will always &quot;know&quot; your code, it will always look clean for you.
If the language/environment itself changes, you will most likely be able to adapt your old stuff (remember, i assumed you are an experienced developer).


BUT, when you work in a team, with even more than 3 people, things will get fuzzy, unless you adapt a common denominator of style, USE A FRAMEWORK, and don&#039;t always use what seems the easiest ... a framework MUST have: 

- maintainability (how well maintained the framework is)
- release cycles (how much time does it take from release A to release B of that framework or how often dramatic changes happen with the framework, that will break your existing apps)
- bug fixing (are bugs being fixed between releases)

You would never use a framework that is always in &quot;bleeding edge mode&quot;, unless its developers are real maniacs of code quality and just don&#039;t care about releases and their numbers, which in reality, are just bloody numbers  (django comes in mind)

ONLY NOW:

ONLY When the above are decided, and you have filtered about a dozen frameworks, you can start to look for features backed by the language and choose the one that BEST FITS YOUR NEEDS.

I want to say that never choose the framework that &quot;best fits your needs from the first place&quot;. A team, will most like have a predefined &quot;MUST HAVE&quot; list of needs, only after those, one can decide on the &quot;rest&quot; of the needs.</description>
		<content:encoded><![CDATA[<p>If PHP is a framework, it is now obsolete.</p>
<p>While PHP is really simple for simple things, it is &#8220;unusable&#8221; for complex ones (not that you can not do almost &#8220;anything&#8221; in PHP, but the way you achieve it makes it unexplainable for newcomers and soon gets unmaintainable, therefore it is virtually unusable).</p>
<p>While using one of the other &#8220;web frameworks&#8221;, no matter in what language a framework is developed, it will always be a love hate relationship between a language and a framework (i might exclude groovy because it is developed in parallel by the same people who build the framework (grails), so the developers would be biased towards introducing new language features, because of the needs of the framework).</p>
<p>And back to &#8220;the problem&#8221; when using frameworks &#8230; you cannot trust frameworks. Frameworks evolve, and usually frameworks are not backward compatible and they are not maintained, usually, the sole pursue of framework developers is to develop new things and to do &#8220;old&#8221; things differently, &#8220;better&#8221;.</p>
<p>This will most likely cause your application to break.</p>
<p>If you trust your PHP skills, i strongly recommend not using any framework at all, but build your own stuff and reuse as much as you can. (i think more than half of PHP developers worldwide are developing in &#8220;solo&#8221; mode).</p>
<p>In this way you will always &#8220;know&#8221; your code, it will always look clean for you.<br />
If the language/environment itself changes, you will most likely be able to adapt your old stuff (remember, i assumed you are an experienced developer).</p>
<p>BUT, when you work in a team, with even more than 3 people, things will get fuzzy, unless you adapt a common denominator of style, USE A FRAMEWORK, and don&#8217;t always use what seems the easiest &#8230; a framework MUST have: </p>
<p>- maintainability (how well maintained the framework is)<br />
- release cycles (how much time does it take from release A to release B of that framework or how often dramatic changes happen with the framework, that will break your existing apps)<br />
- bug fixing (are bugs being fixed between releases)</p>
<p>You would never use a framework that is always in &#8220;bleeding edge mode&#8221;, unless its developers are real maniacs of code quality and just don&#8217;t care about releases and their numbers, which in reality, are just bloody numbers  (django comes in mind)</p>
<p>ONLY NOW:</p>
<p>ONLY When the above are decided, and you have filtered about a dozen frameworks, you can start to look for features backed by the language and choose the one that BEST FITS YOUR NEEDS.</p>
<p>I want to say that never choose the framework that &#8220;best fits your needs from the first place&#8221;. A team, will most like have a predefined &#8220;MUST HAVE&#8221; list of needs, only after those, one can decide on the &#8220;rest&#8221; of the needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1126</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sat, 16 May 2009 12:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1126</guid>
		<description>&gt; With Ruby and Python, unfortunately, you need a framework.

Not so unfortunately. They are general purpose languages. In those languages&#039; domains, PHP often shows its own shortcomings, like lack of threading.</description>
		<content:encoded><![CDATA[<p>&gt; With Ruby and Python, unfortunately, you need a framework.</p>
<p>Not so unfortunately. They are general purpose languages. In those languages&#8217; domains, PHP often shows its own shortcomings, like lack of threading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1125</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Sat, 16 May 2009 12:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1125</guid>
		<description>That&#039;s why PHP is so popular, you don&#039;t need a PHP framework to build a web application. With Ruby and Python, unfortunately, you need a framework.</description>
		<content:encoded><![CDATA[<p>That&#8217;s why PHP is so popular, you don&#8217;t need a PHP framework to build a web application. With Ruby and Python, unfortunately, you need a framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mardix</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1124</link>
		<dc:creator>Mardix</dc:creator>
		<pubDate>Sat, 16 May 2009 07:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1124</guid>
		<description>PHP is awesome. While everyone is talking about this or that language, PHP just rocks you have everthing ready.

PHP is not bad, it&#039;s those who program in PHP who mess stuff up. But organize your code and you will see how beautiful it is to develop in PHP.</description>
		<content:encoded><![CDATA[<p>PHP is awesome. While everyone is talking about this or that language, PHP just rocks you have everthing ready.</p>
<p>PHP is not bad, it&#8217;s those who program in PHP who mess stuff up. But organize your code and you will see how beautiful it is to develop in PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Neighbors</title>
		<link>http://www.artfulcode.net/articles/php-is-a-framework/comment-page-1/#comment-1123</link>
		<dc:creator>Derek Neighbors</dc:creator>
		<pubDate>Fri, 15 May 2009 21:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.artfulcode.net/?p=624#comment-1123</guid>
		<description>I think that PHP was an original web framework.  It was a way for Rasmus to do some web applications without having to write custom C based CGI.  However, it seems to be more of a language and less of a framework now a days.</description>
		<content:encoded><![CDATA[<p>I think that PHP was an original web framework.  It was a way for Rasmus to do some web applications without having to write custom C based CGI.  However, it seems to be more of a language and less of a framework now a days.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

