<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Radical Behavior &#187; PHP</title>
	<atom:link href="http://www.radicalbehavior.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.radicalbehavior.com</link>
	<description>a notepad by Josh Kenzer</description>
	<lastBuildDate>Tue, 20 Dec 2011 15:28:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>The Zend Framework</title>
		<link>http://www.radicalbehavior.com/the-zend-framework/</link>
		<comments>http://www.radicalbehavior.com/the-zend-framework/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 01:35:51 +0000</pubDate>
		<dc:creator>Josh Kenzer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://www.radicalbehavior.com/?p=193</guid>
		<description><![CDATA[I&#8217;ve reviewed a few programming frameworks on this site: Ruby on Rails, Django and CakePHP. I think learning each one has made me pretty adept at quickly picking up a new framework and trying it out. So, when our development team &#8230; <a href="http://www.radicalbehavior.com/the-zend-framework/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://framework.zend.com/"><img class="size-full wp-image-194" style="margin: 5px;float:left;padding:5px;" title="Zend Framework Logo" src="http://www.radicalbehavior.com/wp-content/uploads/2008/04/logo_small.gif" alt="Zend Framework Logo" width="123" height="23" /></a>I&#8217;ve reviewed a few programming frameworks on this site: <a title="Ruby on Rails" href="http://www.radicalbehavior.com/5-question-interview-with-twitter-developer-alex-payne/" target="_self">Ruby</a> on <a title="RoR Review" href="http://www.radicalbehavior.com/on-to-ruby-on-rails/" target="_self">Rails</a>, <a title="Django Framework" href="http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/" target="_self">Django</a> and <a title="CakePHP" href="http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/" target="_self">CakePHP</a>. I think learning each one has made me pretty adept at quickly picking up a new framework and trying it out. So, when <a title="Web Development" href="http://web.twelvehorses.com" target="_blank">our</a> development team decided they were standardizing on Zend, I thought I should put it to the Kenzer test.</p>
<p>I know that <a href="http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/" target="_self">I said I was intent on never programming in PHP</a> again, but that&#8217;s what <a href="http://web.twelvehorses.com" target="_blank">our company</a> uses and that&#8217;s what <a href="http://www.radicalbehavior.com/tag/wordpress/" target="_self">WordPress</a> is written in. </p>
<p>When I reviewed <a href="http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/" target="_self">CakePHP</a>, the <a href="http://framework.zend.com/" target="_self">Zend Framework</a> was very young (I think it was like version 0.6). It&#8217;s now in version 1.5 and very capable. It has all the Model-View-Controller (MVC) components as well as a plethora of web services libraries that were very easy to implement. In just a few hours, I took the YouTube library and created a <a title="Disney Videos" href="http://disneyfrontier.com/videobrowser" target="_blank">topic specific video browser</a> on my other blog. The documentation was good and there is plenty of community support.</p>
<p>I like how it stores the core code of your application out of the path of what is publicly browsable. It gives it a more clean secure feel. I also like that installation basically consists of copy one directory to your web server &#8211; however, it only runs on PHP 5. Caching in the Zend Framework is just a few lines of code, making it a no brainer when it comes to web services.</p>
<p>It does have a few trade offs. It doesn&#8217;t have scaffolding or auto form creation like the other&#8217;s have. It&#8217;s newly implemented Forms library is a little cumbersome. It&#8217;s database support, while varied, feels less than integrated.</p>
<p>I think all in all, it&#8217;s a great framework. I haven&#8217;t touched Cake since 1.1, so I can&#8217;t compare it to their current version. I would recommend it to any PHP developer. If you are interested, check out <a href="http://www.killerphp.com/articles/category/zend-framework/" target="_blank">Killer PHP&#8217;s tutorials</a>.</p>
<p>Anyone compared it to the latest version of CakePHP? Any new PHP frameworks out there that rock and roll?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.radicalbehavior.com/the-zend-framework/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>YouTube – Ruby on Rails vs PHP – RailsEnvy.com Commercial #3</title>
		<link>http://www.radicalbehavior.com/youtube-ruby-on-rails-vs-php-railsenvycom-commercial-3/</link>
		<comments>http://www.radicalbehavior.com/youtube-ruby-on-rails-vs-php-railsenvycom-commercial-3/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 22:10:44 +0000</pubDate>
		<dc:creator>Josh Kenzer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.radicalbehavior.com/youtube-ruby-on-rails-vs-php-railsenvy.com-commercial-3/</guid>
		<description><![CDATA[YouTube &#8211; Ruby on Rails vs PHP &#8211; RailsEnvy.com Commercial #3 This video is hilarious. And oh so true.&#160;]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/p5EIrSM8dCA&#038;mode=user&#038;search="></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/p5EIrSM8dCA&#038;mode=user&#038;search=" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
<p><a href="http://www.youtube.com/watch?v=p5EIrSM8dCA&amp;mode=user&amp;search=">YouTube &#8211; Ruby on Rails vs PHP &#8211; RailsEnvy.com Commercial #3</a></p>
<p>This video is hilarious. And oh so true.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.radicalbehavior.com/youtube-ruby-on-rails-vs-php-railsenvycom-commercial-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Django Web Framework for those who use Python</title>
		<link>http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/</link>
		<comments>http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/#comments</comments>
		<pubDate>Tue, 11 Sep 2007 03:06:47 +0000</pubDate>
		<dc:creator>Josh Kenzer</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/</guid>
		<description><![CDATA[I&#8217;ve played with both Rails and CakePHP and found them both to be awesome development environments. However, after a few frustrating weeks of dealing with other&#8217;s PHP code (not related to CakePHP), I&#8217;ve determine that PHP is the equivalent of &#8230; <a href="http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2007/09/hdr_logo.gif" style="border: 1px solid #000000; margin: 5px; padding: 2px; float: left" alt="Django Logo" /> I&#8217;ve played with both Rails and <a href="http://www.radicalbehavior.com/experimenting-with-cakephp/">CakePHP</a> and found them both to be awesome development environments. However, after a few frustrating weeks of dealing with other&#8217;s PHP code (not related to CakePHP), I&#8217;ve determine that PHP is the equivalent of today&#8217;s Perl (Perl lovers will hate this analogy). Perl allowed anyone to create great scripts that did awesome things. However, in the hands of a novice, Perl allowed for some pretty atrocious code.</p>
<p>Determined to never code in PHP again, I set out to choose between Ruby and Python. Both have very powerful feature sets for languages that are for the most part scripting languages. Many things went into the decision &#8211; a topic for another blog post, but I decided Python was the language I wanted to use moving forward.I had played with Python in the past, but in a few short days I went through the first 9 sections of the <a href="http://docs.python.org/tut/tut.html">tutorial at python.org</a>. Having coded for the better part of 10 years, it wasn&#8217;t difficult to pick up.</p>
<p>Immediately after this course, I jumped into <a href="http://www.djangoproject.com/">Django</a>. Django is the Python equivalent of Rails (Rails uses Ruby) or CakePHP for PHP. It has many similarities to Rails and a few differences. I&#8217;m still in the early learning stages of Django and only made it through the Pragmatic Programmer book with Rails, so I&#8217;d say I&#8217;m not yet qualified to compare and contrast the differences completely.</p>
<p>Two of the biggest differences from a development standpoint is URL handling and AJAX. URL handing is handled manually with Django and automatically with Rails. Handling URLs manually allows the developer to do some pretty amazing things, but it requires the developer to maintain url.py files. As far as AJAX, Rails has built in support meaning you are tied to the Prototype JavaScript library while Django allows the developer to use their own library of choice &#8211; I prefer <a href="http://jquery.com/">jQuery</a>. This choice means you have to handle all the AJAX yourself rather than leaving it to the framework. However, using views this is pretty painless in Django (views are equivalent to controllers in Rails).</p>
<p>Hosting is another difference to consider. I won&#8217;t go into all the ways that one could run Rails or Django, but I will say the most popular method for Django is mod_python for Apache. However, most web hosts don&#8217;t offer this as a default. And because of the popularity that Rails has achieved, more hosts are offering Rails hosting more than mod_python hosting. A lot more could be said on this topic.</p>
<p>All in all, I think either choice has some pros and cons. Hopefully more and more developers will migrate to one or the other and leave PHP behind. Good PHP developers will love the power and true object oriented nature of both Python and Ruby. Bad PHP developers should leave the coding up to professionals.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.radicalbehavior.com/django-web-framework-for-those-who-use-python/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

