<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Get real about PHP4 vs. PHP5!</title>
	<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/</link>
	<description>PHP News and Articles</description>
	<pubDate>Thu, 04 Dec 2008 00:18:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.2</generator>

	<item>
		<title>by: &#187; Get real about PHP4 vs. PHP5!</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-27</link>
		<pubDate>Fri, 27 Oct 2006 02:13:29 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-27</guid>
					<description>[...] Page Summary: I have experiece this with 3 language personnally and probably could find evidence of it for other. It does help to a degree but not enough to make a difference. PHP will have many years to come a first rate development language but it will have to drag itself through the debris of its own flaws and myths. The only salvation is if something radical happens in some aspect of the language that draws the early adopter back to the fold.read more&amp;#160;&amp;#124;&amp;#160;digg story      &amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Page Summary: I have experiece this with 3 language personnally and probably could find evidence of it for other. It does help to a degree but not enough to make a difference. PHP will have many years to come a first rate development language but it will have to drag itself through the debris of its own flaws and myths. The only salvation is if something radical happens in some aspect of the language that draws the early adopter back to the fold.read more&nbsp;|&nbsp;digg story      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: BitRatchet &#187; Blog Archive &#187; PHP 5 discussion end in Steel Cage Rant</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-26</link>
		<pubDate>Sun, 03 Sep 2006 06:25:00 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-26</guid>
					<description>[...] I was googling around and found some people&amp;#8217;s thots on migrating from PHP 4 to PHP 5. One point I didn&amp;#8217;t see in the original post here was that PHP 4 and MySQL 5 are not present in long-term-supported distributions of Linux like RHEL4. Sometimes the Linux distro is pretty important in terms of software version choice. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] I was googling around and found some people&#8217;s thots on migrating from PHP 4 to PHP 5. One point I didn&#8217;t see in the original post here was that PHP 4 and MySQL 5 are not present in long-term-supported distributions of Linux like RHEL4. Sometimes the Linux distro is pretty important in terms of software version choice. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: gcornelisse</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-21</link>
		<pubDate>Mon, 12 Jun 2006 17:37:51 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-21</guid>
					<description>PHP4 and PHP5 comparison/migration information:

&lt;a href=&quot;http://www.zend.com/php5/articles/engine2-php5-changes.php?print=1&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Changes in PHP 5/Zend Engine II&lt;/a&gt;

&lt;a href=&quot;http://www.php.net/manual/en/language.oop5.php&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Classes and Objects (PHP 5)&lt;/a&gt;

&lt;a href=&quot;http://www.php.net/manual/en/language.oop.php&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Classes and Objects (PHP 4)&lt;/a&gt;

&lt;a href=&quot;http://www.php.net/manual/en/migration5.php&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Migrating from PHP 4 to PHP 5&lt;/a&gt;

&lt;a href=&quot;http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;What's New in PHP 5&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>PHP4 and PHP5 comparison/migration information:</p>
<p><a href="http://www.zend.com/php5/articles/engine2-php5-changes.php?print=1" target="_blank" rel="nofollow">Changes in PHP 5/Zend Engine II</a></p>
<p><a href="http://www.php.net/manual/en/language.oop5.php" target="_blank" rel="nofollow">Classes and Objects (PHP 5)</a></p>
<p><a href="http://www.php.net/manual/en/language.oop.php" target="_blank" rel="nofollow">Classes and Objects (PHP 4)</a></p>
<p><a href="http://www.php.net/manual/en/migration5.php" target="_blank" rel="nofollow">Migrating from PHP 4 to PHP 5</a></p>
<p><a href="http://www.devshed.com/c/a/PHP/Whats-New-in-PHP-5/" target="_blank" rel="nofollow">What&#8217;s New in PHP 5</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: ruzz</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-18</link>
		<pubDate>Sat, 10 Jun 2006 07:09:19 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-18</guid>
					<description>i think it might be helpful to point out ASP.NET is not a language, it is a development framework/platform. A very solid one, but still it's like comparing raw php development to rails it's not accurate, nor fair. 

Like Rails, which sits on top of the &quot;language&quot; ruby, asp sits on top of the pie known as .NET. The discussion here about upgrading to PHP 5 from 4 would be more suited if looked at through the lens of upgrading from .net 1.1 to .net 2.0, but even that isn't accurate, it just underlines the point.</description>
		<content:encoded><![CDATA[<p>i think it might be helpful to point out ASP.NET is not a language, it is a development framework/platform. A very solid one, but still it&#8217;s like comparing raw php development to rails it&#8217;s not accurate, nor fair. </p>
<p>Like Rails, which sits on top of the &#8220;language&#8221; ruby, asp sits on top of the pie known as .NET. The discussion here about upgrading to PHP 5 from 4 would be more suited if looked at through the lens of upgrading from .net 1.1 to .net 2.0, but even that isn&#8217;t accurate, it just underlines the point.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: dasil003</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-15</link>
		<pubDate>Sat, 10 Jun 2006 01:33:26 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-15</guid>
					<description>I agree that PHP developers need to get on the PHP 5 bandwagon.  PHP 5 has a lot of compelling features, but it's hard to make the switch if you're depending on open source apps that don't support it yet.  However the last line of your article is particularly telling for me.

I've been in the PHP game professionally for 6 years.  I've probably written more PHP code than any other language.  Over that time I've become comfortable in PHP, but also increasingly annoyed with its little foibles.  Little things like magic_quotes_gpc and register_globals are easy to work around, but over time make me ask the question: Why should I have to do deal with this?  I'm still looking up the order of haystack needle after 6 years.  Other PHP4 issues like wonky references, extremely simplistic OOP support, lack of sensible error handling, no namespaces, and other small annoyances have seemed like more and more of a hindrance as my understanding of web applications has increased.

Perhaps an even bigger problem is the proliferation of shitty PHP code out there.  All languages have bad code, but PHP seems to have some of the worst outside of the Visual Basic / Consumer IDE realm.  OSCommerce is a great example.  The first response suggested trying to help them, but that's a fool's errand.  Without the rest of the developers getting behind the effort, there is no way to make a dent in the morass of code by submitting patches.  That's why ZenCart forked, but believe me that codebase is not so great either. Part of the problem is that PHP is so easy to get into, you have new programmers taking it up all the time, copying bad practices from hotscripts.

PHP 5 and 6 are making huge improvements to the language, but now that we're at the top of the PHP adoption bell-curve these improvements are going to take years and years to trickle down to all the libraries and scripts.  As far as I'm concerned its simply too little too late to compete with languages that had strong design philosophies from their inception.  PHP is still second-to-none for hosting and easy deployment, and I expect it to stay that way for years if not decades.  I will continue to use PHP for small projects.  I'm looking forward to PHP 6 and the incremental improvements it makes.  However for larger projects I don't think PHP can ever match the flexibility and power of frameworks like Ruby on Rails, Django, or Seaside.  It's the expressiveness of languages like Ruby, Python and Smalltalk that make those frameworks work so well while PHP frameworks tend to be unwieldy and get in your way.</description>
		<content:encoded><![CDATA[<p>I agree that PHP developers need to get on the PHP 5 bandwagon.  PHP 5 has a lot of compelling features, but it&#8217;s hard to make the switch if you&#8217;re depending on open source apps that don&#8217;t support it yet.  However the last line of your article is particularly telling for me.</p>
<p>I&#8217;ve been in the PHP game professionally for 6 years.  I&#8217;ve probably written more PHP code than any other language.  Over that time I&#8217;ve become comfortable in PHP, but also increasingly annoyed with its little foibles.  Little things like magic_quotes_gpc and register_globals are easy to work around, but over time make me ask the question: Why should I have to do deal with this?  I&#8217;m still looking up the order of haystack needle after 6 years.  Other PHP4 issues like wonky references, extremely simplistic OOP support, lack of sensible error handling, no namespaces, and other small annoyances have seemed like more and more of a hindrance as my understanding of web applications has increased.</p>
<p>Perhaps an even bigger problem is the proliferation of shitty PHP code out there.  All languages have bad code, but PHP seems to have some of the worst outside of the Visual Basic / Consumer IDE realm.  OSCommerce is a great example.  The first response suggested trying to help them, but that&#8217;s a fool&#8217;s errand.  Without the rest of the developers getting behind the effort, there is no way to make a dent in the morass of code by submitting patches.  That&#8217;s why ZenCart forked, but believe me that codebase is not so great either. Part of the problem is that PHP is so easy to get into, you have new programmers taking it up all the time, copying bad practices from hotscripts.</p>
<p>PHP 5 and 6 are making huge improvements to the language, but now that we&#8217;re at the top of the PHP adoption bell-curve these improvements are going to take years and years to trickle down to all the libraries and scripts.  As far as I&#8217;m concerned its simply too little too late to compete with languages that had strong design philosophies from their inception.  PHP is still second-to-none for hosting and easy deployment, and I expect it to stay that way for years if not decades.  I will continue to use PHP for small projects.  I&#8217;m looking forward to PHP 6 and the incremental improvements it makes.  However for larger projects I don&#8217;t think PHP can ever match the flexibility and power of frameworks like Ruby on Rails, Django, or Seaside.  It&#8217;s the expressiveness of languages like Ruby, Python and Smalltalk that make those frameworks work so well while PHP frameworks tend to be unwieldy and get in your way.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mgkimsal</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-14</link>
		<pubDate>Sat, 10 Jun 2006 00:13:59 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-14</guid>
					<description>yes gcornelisse, the net makes things a small world.  I was googling for you today and came across this site.  :)</description>
		<content:encoded><![CDATA[<p>yes gcornelisse, the net makes things a small world.  I was googling for you today and came across this site.  <img src='http://www.thephpgrind.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: karl</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-13</link>
		<pubDate>Fri, 09 Jun 2006 22:50:59 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-13</guid>
					<description>As an ASP.NET guy, I've &lt;a href=&quot;http://codebetter.com/blogs/karlseguin/archive/2006/05/12/144584.aspx&quot; rel=&quot;nofollow&quot;&gt;advocated that ASP.NET isn't always the right tool for the right job&lt;/a&gt;. Specifically, ASP.NET is wonderfully aimed at enterprise development as well as various medium to large scale projects. PHP, as a toolset, is better positioned to address a different problem space. While I too am generally apathetic towards those unwilling to learn and evolve, there a reality out there that isn’t as straightforward.  PHP5 isn’t in the same universe as ASP.NET when it comes to enterprise development. I don’t know _anything_ about PHP6, but I’m positive that nothing short of a total redesign has a chance of making it competitive (FOR THAT PARTICULAR  TYPE OF DEVELOPMENT). It’s possible that PHP6 is a complete redesign, like ASP.NET was to ASP and VB.NET to VB6, but it’s important to understand downside of that. 
If you aren’t building the type of sites/applications that ASP.NET/.NET are well suited for, you are far better off using PHP or other similar tools. Otherwise you’ll end up with horrible code that’s as unmaintainable, buggy and slow. 
The point I’m trying to make is to be careful what you ask for. PHP is positioned to capture a very healthy “market share”. It does what it does very well. The more you ask of it to do something else, the more you’ll abandon your faithful core group.  Microsoft made that choice with ASP.NET and because of it, the ASP.NET team had to spend most of the 2.0 lifecycle trying to bridge the huge classic ASP gap they created. The VB team is in the same boat. It’s actually surprisingly ballsy and uncharacteristic of Microsoft (long history of backwards compatibility).
I will admit that it’s certainly possible for both PHP and ASP.NET to find a happy home across multiple types of development. PHP5 does do a good job of starting to introduce some important enterprise level  methodologies while making it possible for anyone to completely ignore those to “setup a gallery”. As I’ve already said, ASP.NET 2.0 has done a lot to soften the learning curve. But it’s a hard balancing act that requires a well thought out roadmap and amazing execution. I have no doubt that PHP will make it happen, but I’m sorry to say, it’ll take some time – that’s something I’ve only recently come to terms with in my own development world.</description>
		<content:encoded><![CDATA[<p>As an ASP.NET guy, I&#8217;ve <a href="http://codebetter.com/blogs/karlseguin/archive/2006/05/12/144584.aspx" rel="nofollow">advocated that ASP.NET isn&#8217;t always the right tool for the right job</a>. Specifically, ASP.NET is wonderfully aimed at enterprise development as well as various medium to large scale projects. PHP, as a toolset, is better positioned to address a different problem space. While I too am generally apathetic towards those unwilling to learn and evolve, there a reality out there that isn’t as straightforward.  PHP5 isn’t in the same universe as ASP.NET when it comes to enterprise development. I don’t know _anything_ about PHP6, but I’m positive that nothing short of a total redesign has a chance of making it competitive (FOR THAT PARTICULAR  TYPE OF DEVELOPMENT). It’s possible that PHP6 is a complete redesign, like ASP.NET was to ASP and VB.NET to VB6, but it’s important to understand downside of that.<br />
If you aren’t building the type of sites/applications that ASP.NET/.NET are well suited for, you are far better off using PHP or other similar tools. Otherwise you’ll end up with horrible code that’s as unmaintainable, buggy and slow.<br />
The point I’m trying to make is to be careful what you ask for. PHP is positioned to capture a very healthy “market share”. It does what it does very well. The more you ask of it to do something else, the more you’ll abandon your faithful core group.  Microsoft made that choice with ASP.NET and because of it, the ASP.NET team had to spend most of the 2.0 lifecycle trying to bridge the huge classic ASP gap they created. The VB team is in the same boat. It’s actually surprisingly ballsy and uncharacteristic of Microsoft (long history of backwards compatibility).<br />
I will admit that it’s certainly possible for both PHP and ASP.NET to find a happy home across multiple types of development. PHP5 does do a good job of starting to introduce some important enterprise level  methodologies while making it possible for anyone to completely ignore those to “setup a gallery”. As I’ve already said, ASP.NET 2.0 has done a lot to soften the learning curve. But it’s a hard balancing act that requires a well thought out roadmap and amazing execution. I have no doubt that PHP will make it happen, but I’m sorry to say, it’ll take some time – that’s something I’ve only recently come to terms with in my own development world.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: mgkimsal</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-11</link>
		<pubDate>Fri, 09 Jun 2006 22:33:20 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-11</guid>
					<description>Another issue to consider holding people back is shared hosting and control panels.  I know Plesk (at least up to 7.5.4) only delivers PHP 4.3.x and MySQL 3.23.  Yes there are some 'hacks' to get around this, but things in the shared hosting space are stuck, and probably stuck for mostly financial reasons.  However, there weren't many backwards compatiblity issues from 3-&amp;#62;4 *and* there was much less invested in PHP code at that point.  The shared hosting migration from 2-&amp;#62;3 and 3-&amp;#62;4 was relatively painless and quite quick.  What's the holdup this time?  Compatibility concerns?  Not being able to run both at the same time without some kludgy proxy hacks (that's a big one for many people for sure)?  

The PHP community has grown much larger and more professional (and funded, see Zend, etc.) It's certainly not because some developers on a few projects say 'php5 sucks' that the upgrade/adoption isn't happening faster - they were saying 'php' sucks for years and the major version numbers from 2-3-4 all were adopted *much* faster.</description>
		<content:encoded><![CDATA[<p>Another issue to consider holding people back is shared hosting and control panels.  I know Plesk (at least up to 7.5.4) only delivers PHP 4.3.x and MySQL 3.23.  Yes there are some &#8216;hacks&#8217; to get around this, but things in the shared hosting space are stuck, and probably stuck for mostly financial reasons.  However, there weren&#8217;t many backwards compatiblity issues from 3-&gt;4 *and* there was much less invested in PHP code at that point.  The shared hosting migration from 2-&gt;3 and 3-&gt;4 was relatively painless and quite quick.  What&#8217;s the holdup this time?  Compatibility concerns?  Not being able to run both at the same time without some kludgy proxy hacks (that&#8217;s a big one for many people for sure)?  </p>
<p>The PHP community has grown much larger and more professional (and funded, see Zend, etc.) It&#8217;s certainly not because some developers on a few projects say &#8216;php5 sucks&#8217; that the upgrade/adoption isn&#8217;t happening faster - they were saying &#8216;php&#8217; sucks for years and the major version numbers from 2-3-4 all were adopted *much* faster.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: gcornelisse</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-10</link>
		<pubDate>Fri, 09 Jun 2006 22:29:23 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-10</guid>
					<description>I just started hearing about Zen Cart. I've also been looking at a couple others and ran across a nice list with reviews. Not sure all are PHP5, but I know a couple are because I've installed the trial. I have the trial of CS-Cart running and I really like what I see so far.

&lt;a href=&quot;http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Shopping_Carts/index.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Hotscripts - Shopping Carts&lt;/a&gt;

....but, I don't want to get too far off topic</description>
		<content:encoded><![CDATA[<p>I just started hearing about Zen Cart. I&#8217;ve also been looking at a couple others and ran across a nice list with reviews. Not sure all are PHP5, but I know a couple are because I&#8217;ve installed the trial. I have the trial of CS-Cart running and I really like what I see so far.</p>
<p><a href="http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Shopping_Carts/index.html" target="_blank" rel="nofollow">Hotscripts - Shopping Carts</a></p>
<p>&#8230;.but, I don&#8217;t want to get too far off topic
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Slapo</title>
		<link>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-9</link>
		<pubDate>Fri, 09 Jun 2006 22:20:17 +0000</pubDate>
		<guid>http://www.thephpgrind.net/2006/06/08/get-real-about-php4-vs-php5/#comment-9</guid>
					<description>Try using Zen Cart instead of osCommerce, it's newer and runs fine, although it is a bit slow.</description>
		<content:encoded><![CDATA[<p>Try using Zen Cart instead of osCommerce, it&#8217;s newer and runs fine, although it is a bit slow.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
