<?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: Better ways to improve php application performance</title>
	<atom:link href="http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/</link>
	<description>A blend of programming and seo</description>
	<lastBuildDate>Tue, 23 Mar 2010 05:55:58 -0400</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vladimir</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-4007</link>
		<dc:creator>Vladimir</dc:creator>
		<pubDate>Sat, 15 Aug 2009 15:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-4007</guid>
		<description>Zend Platform is free for developers and can be a big helper in complex PHP applications development</description>
		<content:encoded><![CDATA[<p>Zend Platform is free for developers and can be a big helper in complex PHP applications development</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xzyfer</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-3220</link>
		<dc:creator>xzyfer</dc:creator>
		<pubDate>Fri, 10 Jul 2009 09:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-3220</guid>
		<description>@thomas &amp; Justin
the single quotes vs double issue is a relatively mute point as the speeds gains of one other is dependent on so many other factors least of which are php version, server os/version, hardware architecture. Either one will have a slight performance gain over the other depending on any one of these and 10s of other variables.

The only guarantee is that double quotes will be slight slower if it contains 100s of variables to parse, or the string is really large i.e. in the 1Mb+ range.

It&#039;s best to just use what you prefer and not to attempt to change the implementation of one to the other as there is a high chance of introducing regression bugs for a gain of no more then 1 or 2 request per second.</description>
		<content:encoded><![CDATA[<p>@thomas &amp; Justin<br />
the single quotes vs double issue is a relatively mute point as the speeds gains of one other is dependent on so many other factors least of which are php version, server os/version, hardware architecture. Either one will have a slight performance gain over the other depending on any one of these and 10s of other variables.</p>
<p>The only guarantee is that double quotes will be slight slower if it contains 100s of variables to parse, or the string is really large i.e. in the 1Mb+ range.</p>
<p>It&#8217;s best to just use what you prefer and not to attempt to change the implementation of one to the other as there is a high chance of introducing regression bugs for a gain of no more then 1 or 2 request per second.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin (rawseo)</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-3120</link>
		<dc:creator>Justin (rawseo)</dc:creator>
		<pubDate>Fri, 03 Jul 2009 04:14:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-3120</guid>
		<description>@pseudocoder:

If you are having trouble explaining why register_globals is a bad thing, you can always explain that the new versions of php (version 6) will be completely removing this feature and that it&#039;s a good idea to stop relying on it.</description>
		<content:encoded><![CDATA[<p>@pseudocoder:</p>
<p>If you are having trouble explaining why register_globals is a bad thing, you can always explain that the new versions of php (version 6) will be completely removing this feature and that it&#8217;s a good idea to stop relying on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin (rawseo)</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-3119</link>
		<dc:creator>Justin (rawseo)</dc:creator>
		<pubDate>Fri, 03 Jul 2009 03:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-3119</guid>
		<description>@thomas:

check out this site:

http://phpbench.com/

From the tests there, it looks like single quotes are slightly faster.</description>
		<content:encoded><![CDATA[<p>@thomas:</p>
<p>check out this site:</p>
<p><a href="http://phpbench.com/" rel="nofollow">http://phpbench.com/</a></p>
<p>From the tests there, it looks like single quotes are slightly faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Lukasik</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-3095</link>
		<dc:creator>Thomas Lukasik</dc:creator>
		<pubDate>Thu, 02 Jul 2009 17:53:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-3095</guid>
		<description>Being (relatively) new to PHP I&#039;m confused by contradictory advice I&#039;ve seen regarding using single vs double quotes for PHP strings.

Early on in my PHP experience I&#039;d read in several places that double quotes were more expensive because PHP always parsed them looking for vars that had to be defereferenced and converted to string content even if there were no embedded vars in the double-quoted string. They went on to say that PHP never parsed single-quoted strings for embedded vars, so using double quotes when there were no embedded vars was making PHP waste a lot of time parsing those strings for no reason.  

Is there *any* truth behind this thinking or have I been the victim of cyber-legend?

TL</description>
		<content:encoded><![CDATA[<p>Being (relatively) new to PHP I&#8217;m confused by contradictory advice I&#8217;ve seen regarding using single vs double quotes for PHP strings.</p>
<p>Early on in my PHP experience I&#8217;d read in several places that double quotes were more expensive because PHP always parsed them looking for vars that had to be defereferenced and converted to string content even if there were no embedded vars in the double-quoted string. They went on to say that PHP never parsed single-quoted strings for embedded vars, so using double quotes when there were no embedded vars was making PHP waste a lot of time parsing those strings for no reason.  </p>
<p>Is there *any* truth behind this thinking or have I been the victim of cyber-legend?</p>
<p>TL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pseudocoder</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-2951</link>
		<dc:creator>pseudocoder</dc:creator>
		<pubDate>Mon, 29 Jun 2009 14:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-2951</guid>
		<description>Wish there was an explanation for why do/while is faster than while.

Wish I could do &quot;SELECT * EXCEPT(`modified_date`, `amenities`,`client_id`) FROM mytable&quot;
Because most of the time I do need the other 20+fields and future projects using most of the same code often call for the addition/removal of some fields and that would mean going back and editing the field select list in lots of places.

The google group thread on this just continues my years-long confusion about a few other things.
http://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfbe82dd80408cc

Is output buffering going to speed things up once and for all. I need a definitive answer on this from a reliable source or my boss will continue to forbid me from using ob_ functions. (He says it slows things down based on a comment he saw in php.ini.)

And if someone happens to have an unbelievably good article about why you shouldn&#039;t do [? extract($_GET); extract($_POST); ?] at the start of every script I would be forever grateful. I&#039;ve been trying for 3 years to convince him but that page on php.net about why register_globals is bad has had no effect on him.</description>
		<content:encoded><![CDATA[<p>Wish there was an explanation for why do/while is faster than while.</p>
<p>Wish I could do &#8220;SELECT * EXCEPT(`modified_date`, `amenities`,`client_id`) FROM mytable&#8221;<br />
Because most of the time I do need the other 20+fields and future projects using most of the same code often call for the addition/removal of some fields and that would mean going back and editing the field select list in lots of places.</p>
<p>The google group thread on this just continues my years-long confusion about a few other things.<br />
<a href="http://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfbe82dd80408cc" rel="nofollow">http://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfbe82dd80408cc</a></p>
<p>Is output buffering going to speed things up once and for all. I need a definitive answer on this from a reliable source or my boss will continue to forbid me from using ob_ functions. (He says it slows things down based on a comment he saw in php.ini.)</p>
<p>And if someone happens to have an unbelievably good article about why you shouldn&#8217;t do [? extract($_GET); extract($_POST); ?] at the start of every script I would be forever grateful. I&#8217;ve been trying for 3 years to convince him but that page on php.net about why register_globals is bad has had no effect on him.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dixon</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-2904</link>
		<dc:creator>Dixon</dc:creator>
		<pubDate>Sun, 28 Jun 2009 11:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-2904</guid>
		<description>And yet you link to Turck MMCache, which hasn&#039;t seen an update in almost six years.</description>
		<content:encoded><![CDATA[<p>And yet you link to Turck MMCache, which hasn&#8217;t seen an update in almost six years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin (rawseo)</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-2881</link>
		<dc:creator>Justin (rawseo)</dc:creator>
		<pubDate>Sat, 27 Jun 2009 21:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-2881</guid>
		<description>@matthew:

take a look at this article: http://itst.net/654-php-on-fire-three-opcode-caches-compared

Ion Cube may not offer actual opcode optimization, but zend encoder does (~128% performance increase).

I have tried both eAccellerator and xCache, and they have major stability issues in a production environment.</description>
		<content:encoded><![CDATA[<p>@matthew:</p>
<p>take a look at this article: <a href="http://itst.net/654-php-on-fire-three-opcode-caches-compared" rel="nofollow">http://itst.net/654-php-on-fire-three-opcode-caches-compared</a></p>
<p>Ion Cube may not offer actual opcode optimization, but zend encoder does (~128% performance increase).</p>
<p>I have tried both eAccellerator and xCache, and they have major stability issues in a production environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathew</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-2879</link>
		<dc:creator>Mathew</dc:creator>
		<pubDate>Sat, 27 Jun 2009 20:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-2879</guid>
		<description>Did you take lessons from Google?

IONCube and Zend Encoder are not op-code caches. They&#039;re used to protect your code and have nothing to do with speeding it up.

I would of mentioned APC, eAccellerator and xCache</description>
		<content:encoded><![CDATA[<p>Did you take lessons from Google?</p>
<p>IONCube and Zend Encoder are not op-code caches. They&#8217;re used to protect your code and have nothing to do with speeding it up.</p>
<p>I would of mentioned APC, eAccellerator and xCache</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Graham</title>
		<link>http://www.rawseo.com/news/2009/06/25/better-ways-to-improve-php-application-performance/comment-page-1/#comment-2865</link>
		<dc:creator>Chris Graham</dc:creator>
		<pubDate>Sat, 27 Jun 2009 11:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.rawseo.com/news/?p=1431#comment-2865</guid>
		<description>I&#039;m glad someone picked Google up about this. I was thinking their tips were almost all bogus when I read them too.</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad someone picked Google up about this. I was thinking their tips were almost all bogus when I read them too.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
