<?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: Lazy PHP: Part 1</title>
	<atom:link href="http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Sun, 22 Nov 2009 11:54:05 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeremie</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-921606</link>
		<dc:creator>Jeremie</dc:creator>
		<pubDate>Wed, 22 Apr 2009 00:16:18 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-921606</guid>
		<description>Spreading php code into many files can do more harm than good. Disk I/O is way slower than the time it takes to parse php into opcodes. It&#039;s faster to include one file with 10k lines than 10 files with 1k lines, way faster. The real speed slowdown of PHP is when developers use tons of strings where integral values can be used, do not cache the result of pure functions, do not take advantage of the strict operators, use variable references within strings (that &quot;hello $world&quot; thing), etc.</description>
		<content:encoded><![CDATA[<p>Spreading php code into many files can do more harm than good. Disk I/O is way slower than the time it takes to parse php into opcodes. It&#8217;s faster to include one file with 10k lines than 10 files with 1k lines, way faster. The real speed slowdown of PHP is when developers use tons of strings where integral values can be used, do not cache the result of pure functions, do not take advantage of the strict operators, use variable references within strings (that &#8220;hello $world&#8221; thing), etc.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Friedly</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-498574</link>
		<dc:creator>Nathan Friedly</dc:creator>
		<pubDate>Wed, 21 Nov 2007 21:57:22 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-498574</guid>
		<description>You guys should update this article and replace the &quot;to be continued&quot; bit at the bottom with a link to part 2 so I don&#039;t have to go back to google to find it.</description>
		<content:encoded><![CDATA[<p>You guys should update this article and replace the &#8220;to be continued&#8221; bit at the bottom with a link to part 2 so I don&#8217;t have to go back to google to find it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: kwastje</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-14814</link>
		<dc:creator>kwastje</dc:creator>
		<pubDate>Thu, 02 Mar 2006 13:07:30 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-14814</guid>
		<description>For a beginner (medium), this &lt;strong&gt;lazy php approach&lt;/strong&gt; is a very good tip when writing code. Tnx !</description>
		<content:encoded><![CDATA[<p>For a beginner (medium), this <strong>lazy php approach</strong> is a very good tip when writing code. Tnx !</p>]]></content:encoded>
	</item>
	<item>
		<title>By: SitePoint Blogs &#187; A pro-PHP Rant</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-14245</link>
		<dc:creator>SitePoint Blogs &#187; A pro-PHP Rant</dc:creator>
		<pubDate>Tue, 21 Feb 2006 16:19:17 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-14245</guid>
		<description>[...] Tried to explain the basics a long time ago here&#8212;the important thing to take from that (compared to mod_perl / mod_python / mod_* or even &#8220;X&#8221; application server.) is the interpreter returning to a fresh state after every request (no globals hanging around or otherwise). PHP really is shared nothing. You want scaling? Try here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Tried to explain the basics a long time ago here&#8212;the important thing to take from that (compared to mod_perl / mod_python / mod_* or even &#8220;X&#8221; application server.) is the interpreter returning to a fresh state after every request (no globals hanging around or otherwise). PHP really is shared nothing. You want scaling? Try here. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: SitePoint Blogs &#187; The sysadmin view on &#8220;Why PHP&#8221;</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-12626</link>
		<dc:creator>SitePoint Blogs &#187; The sysadmin view on &#8220;Why PHP&#8221;</dc:creator>
		<pubDate>Wed, 11 Jan 2006 14:29:06 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-12626</guid>
		<description>[...] With PHP it&#8217;s very hard for a script to take down the runtime environment&#8212;the web server&#8212;I&#8217;d argue that you&#8217;d have to be deliberately trying to do so, perhaps filling up disk space or otherwise. Innocent mistakes, specific instances of runtime problems (e.g. script execution too long) and bugs remain local to specific requests and the PHP script handling them. On the next request, we begin again from scratch. [...]</description>
		<content:encoded><![CDATA[<p>[...] With PHP it&#8217;s very hard for a script to take down the runtime environment&#8212;the web server&#8212;I&#8217;d argue that you&#8217;d have to be deliberately trying to do so, perhaps filling up disk space or otherwise. Innocent mistakes, specific instances of runtime problems (e.g. script execution too long) and bugs remain local to specific requests and the PHP script handling them. On the next request, we begin again from scratch. [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-5</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-5</guid>
		<description>&lt;p&gt;Note: hopefully Sitepoint will fix the PHP formatting... not my fault honest&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Note: hopefully Sitepoint will fix the PHP formatting&#8230; not my fault honest</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Octal</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-6</link>
		<dc:creator>Octal</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-6</guid>
		<description>&lt;p&gt;Nice tip. I like the use of the word &#039;lazy&#039; rather than something along the lines of &#039;optimisation&#039;, quite apt for a person such as myself :)&lt;/p&gt;

&lt;p&gt;As a side note this tip would also be helpful in other forms of OO programming not just PHP&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Nice tip. I like the use of the word &#8216;lazy&#8217; rather than something along the lines of &#8216;optimisation&#8217;, quite apt for a person such as myself :)</p>
<p>As a side note this tip would also be helpful in other forms of OO programming not just PHP</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-7</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-7</guid>
		<description>&lt;p&gt;&quot;As a side note this tip would also be helpful in other forms of OO programming not just PHP&quot;&lt;/p&gt;

&lt;p&gt;Very true: there&#039;s a number of pages on the C2 wiki about Laziness: http://c2.com/cgi/wiki?search=Lazy .&lt;/p&gt;

&lt;p&gt;Think PHP&#039;s case is a little special to the point where you need to use &quot;eXtreme Laziness&quot; because it dumps everything between requests - with compiled language that&#039;s not the case and in most enviroments, memory tends to stay around for a little longer that 30 seconds.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>&#8220;As a side note this tip would also be helpful in other forms of OO programming not just PHP&#8221;</p>
<p>Very true: there&#8217;s a number of pages on the C2 wiki about Laziness: <a href="http://c2.com/cgi/wiki?search=Lazy" rel="nofollow">http://c2.com/cgi/wiki?search=Lazy</a> .</p>
<p>Think PHP&#8217;s case is a little special to the point where you need to use &#8220;eXtreme Laziness&#8221; because it dumps everything between requests &#8211; with compiled language that&#8217;s not the case and in most enviroments, memory tends to stay around for a little longer that 30 seconds.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Possibility</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-8</link>
		<dc:creator>Possibility</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-8</guid>
		<description>&lt;p&gt;So being lazy is a good thing?  Great! :D&lt;/p&gt;

&lt;p&gt;Really is true, though.  I don&#039;t make those big scripts where you might have 101 functions, but it&#039;s never too early to start a good habit :)&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>So being lazy is a good thing?  Great! :D</p>
<p>Really is true, though.  I don&#8217;t make those big scripts where you might have 101 functions, but it&#8217;s never too early to start a good habit :)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Cam</title>
		<link>http://www.sitepoint.com/blogs/2004/02/06/lazy-php-part-1/comment-page-1/#comment-9</link>
		<dc:creator>Cam</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">155630279#comment-9</guid>
		<description>&lt;p&gt;Lol, &quot;lazy&quot; certainly attracted my attention ;) Also with PHP5 almost at RC quality, we shouldn&#039;t forget __autoload().&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.sitepoint.com/article/1192/10&quot;&gt;http://www.sitepoint.com/article/1192/10&lt;/a&gt;&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Lol, &#8220;lazy&#8221; certainly attracted my attention ;) Also with PHP5 almost at RC quality, we shouldn&#8217;t forget __autoload().</p>
<p><a href="http://www.sitepoint.com/article/1192/10">http://www.sitepoint.com/article/1192/10</a></p>]]></content:encoded>
	</item>
</channel>
</rss>
