<?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: Ten PHP Best Practices Tips that will get you a job</title>
	<atom:link href="http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/</link>
	<description>ASP.Net and PHP go head to head</description>
	<lastBuildDate>Thu, 02 Sep 2010 06:04:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tony Parrillo</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-42307</link>
		<dc:creator>Tony Parrillo</dc:creator>
		<pubDate>Thu, 02 Sep 2010 06:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-42307</guid>
		<description>And Muhkuh, kindly stick to your guns: in one sentence you bash the author for not providing proof of single- vs. double-quoted strings......and then you offer up some B.S. about regexes (which is true, by the way) without offering any sort of benchmarking whatsoever.  Hypocrisy stinks.

This is a good, solid list of &quot;don&#039;t dos&quot; that will benefit a whole lotta peeps.</description>
		<content:encoded><![CDATA[<p>And Muhkuh, kindly stick to your guns: in one sentence you bash the author for not providing proof of single- vs. double-quoted strings&#8230;&#8230;and then you offer up some B.S. about regexes (which is true, by the way) without offering any sort of benchmarking whatsoever.  Hypocrisy stinks.</p>
<p>This is a good, solid list of &#034;don&#039;t dos&#034; that will benefit a whole lotta peeps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Parrillo</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-42305</link>
		<dc:creator>Tony Parrillo</dc:creator>
		<pubDate>Thu, 02 Sep 2010 05:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-42305</guid>
		<description>Friends, I&#039;m choosing to attack the naysayers of the tab movement. It&#039;s the absolute, most basic of mathematic principles: four bytes consume more bandwidth than one.  So every time you use a space in your rendered code, you&#039;re adding a byte to the bandwidth overhead.

So if you have a line of code with six levels of indentation, you&#039;re looking at either six bytes (tabs) or twenty-four bytes (spaces...if they&#039;re set at four).

We shave single characters in  src attributes by renaming &#039;this-is-the-best-photo.jpg&#039; to &#039;titbp.jpg&#039;.

While it seems like nitpicking, I just can&#039;t abide uninformed commentary.</description>
		<content:encoded><![CDATA[<p>Friends, I&#039;m choosing to attack the naysayers of the tab movement. It&#039;s the absolute, most basic of mathematic principles: four bytes consume more bandwidth than one.  So every time you use a space in your rendered code, you&#039;re adding a byte to the bandwidth overhead.</p>
<p>So if you have a line of code with six levels of indentation, you&#039;re looking at either six bytes (tabs) or twenty-four bytes (spaces&#8230;if they&#039;re set at four).</p>
<p>We shave single characters in  src attributes by renaming &#039;this-is-the-best-photo.jpg&#039; to &#039;titbp.jpg&#039;.</p>
<p>While it seems like nitpicking, I just can&#039;t abide uninformed commentary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Braeden Petruk</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-41066</link>
		<dc:creator>Braeden Petruk</dc:creator>
		<pubDate>Wed, 11 Aug 2010 20:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-41066</guid>
		<description>Great article. However, there is an error in your section about loops.

Using count($array) inside a for() statement will actually only execute the count function once, thus rendering a pre-defined variable quite useless.

for() evaluates the three parameters in full before looping through the code between the braces, so it doesn&#039;t matter how you pass the data to the construct. You could use return variables from functions for all three parameters without impeding performance.</description>
		<content:encoded><![CDATA[<p>Great article. However, there is an error in your section about loops.</p>
<p>Using count($array) inside a for() statement will actually only execute the count function once, thus rendering a pre-defined variable quite useless.</p>
<p>for() evaluates the three parameters in full before looping through the code between the braces, so it doesn&#039;t matter how you pass the data to the construct. You could use return variables from functions for all three parameters without impeding performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fuxximus</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-40739</link>
		<dc:creator>fuxximus</dc:creator>
		<pubDate>Wed, 04 Aug 2010 02:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-40739</guid>
		<description>i&#039;ve read your article, having played around with PHP for the last 5 years, i can&#039;t agree with you more, i just think most are gimmicks. I personally pay attention to all of the things you mentioned, and it annoys me to hell when people i work with don&#039;t consider as important.</description>
		<content:encoded><![CDATA[<p>i&#039;ve read your article, having played around with PHP for the last 5 years, i can&#039;t agree with you more, i just think most are gimmicks. I personally pay attention to all of the things you mentioned, and it annoys me to hell when people i work with don&#039;t consider as important.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: muhkuh</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-40379</link>
		<dc:creator>muhkuh</dc:creator>
		<pubDate>Tue, 27 Jul 2010 19:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-40379</guid>
		<description>Ah the myth about single quotes that are faster than double quotes. Have you profiled the code?

It WAS true with php 3 and early versions of php 4 but please stop to spread these myth!

The article is good but when you say things like &quot;use feature X instead of Y because it is faster!&quot; then please proof it!

Anyway I totaly agree with regex functions versus standard string functions. As long as you don&#039;t check the format of an input use standard string functions. And when you want to check the format of input consider the filter functions before you consider regexes!

I agree also to nuno costa. Don&#039;t overcomment the code only document the code that needs it (Like a algorithm) and document you classes/functions. But I think thats what you&#039;ve meant.</description>
		<content:encoded><![CDATA[<p>Ah the myth about single quotes that are faster than double quotes. Have you profiled the code?</p>
<p>It WAS true with php 3 and early versions of php 4 but please stop to spread these myth!</p>
<p>The article is good but when you say things like &#034;use feature X instead of Y because it is faster!&#034; then please proof it!</p>
<p>Anyway I totaly agree with regex functions versus standard string functions. As long as you don&#039;t check the format of an input use standard string functions. And when you want to check the format of input consider the filter functions before you consider regexes!</p>
<p>I agree also to nuno costa. Don&#039;t overcomment the code only document the code that needs it (Like a algorithm) and document you classes/functions. But I think thats what you&#039;ve meant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EllisGL</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-34927</link>
		<dc:creator>EllisGL</dc:creator>
		<pubDate>Tue, 06 Apr 2010 00:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-34927</guid>
		<description>@Steven I keep seeing code that uses spaces and tabs. *cringes*</description>
		<content:encoded><![CDATA[<p>@Steven I keep seeing code that uses spaces and tabs. *cringes*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-34926</link>
		<dc:creator>Steven</dc:creator>
		<pubDate>Tue, 06 Apr 2010 00:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-34926</guid>
		<description>The problem with using tabs instead of spaces is that one developer will use 4 spaces for a tab and another developer will use 3 or 8 spaces.  Now no matter what number of spaces you set the tab setting, you cannot get the file to be properly indented.</description>
		<content:encoded><![CDATA[<p>The problem with using tabs instead of spaces is that one developer will use 4 spaces for a tab and another developer will use 3 or 8 spaces.  Now no matter what number of spaces you set the tab setting, you cannot get the file to be properly indented.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sateeshpatil</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-34535</link>
		<dc:creator>sateeshpatil</dc:creator>
		<pubDate>Mon, 29 Mar 2010 12:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-34535</guid>
		<description>Good, Need to have such articles ,,,,,,</description>
		<content:encoded><![CDATA[<p>Good, Need to have such articles ,,,,,,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surendra</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-30756</link>
		<dc:creator>Surendra</dc:creator>
		<pubDate>Fri, 15 Jan 2010 13:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-30756</guid>
		<description>This is an awesome article and as a programmer i don&#039;t find use these small mistakes.</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background-color: #FFCD71;">
<p>This is an awesome article and as a programmer i don&#039;t find use these small mistakes.</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: 45 Must Read PHP Articles and Resources</title>
		<link>http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/comment-page-3/#comment-30301</link>
		<dc:creator>45 Must Read PHP Articles and Resources</dc:creator>
		<pubDate>Fri, 08 Jan 2010 17:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpvs.net/2008/06/04/ten-php-best-practices-tips-that-will-get-you-a-job/#comment-30301</guid>
		<description>[...] Ten PHP Best Practices Tips that will get you a job [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background-color: #FFCD71;">
<p>[...] Ten PHP Best Practices Tips that will get you a job [...]</p>
</div>
]]></content:encoded>
	</item>
</channel>
</rss>
