<?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: Tip for Streamlining Your PHP if(statements)</title>
	<atom:link href="http://thinkvitamin.com/dev/php/tip-for-streamlining-your-php-ifstatements/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/</link>
	<description>The Web Practitioner&#039;s Blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 16:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Atif</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-37102</link>
		<dc:creator>Atif</dc:creator>
		<pubDate>Tue, 26 Oct 2010 11:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-37102</guid>
		<description>personally I prefer the older trick ;)</description>
		<content:encoded><![CDATA[<p>personally I prefer the older trick ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: skylark</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-36487</link>
		<dc:creator>skylark</dc:creator>
		<pubDate>Sun, 10 Oct 2010 00:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-36487</guid>
		<description>Leigh McKay of PHPvideotutorials.com introduces the alt. syntax  for use in templating in one of his tutorials. (Personally I prefer it for that use, having trailing curly brackets gives me a headache :D )</description>
		<content:encoded><![CDATA[<p>Leigh McKay of PHPvideotutorials.com introduces the alt. syntax  for use in templating in one of his tutorials. (Personally I prefer it for that use, having trailing curly brackets gives me a headache :D )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Sheehan</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-22420</link>
		<dc:creator>Tim Sheehan</dc:creator>
		<pubDate>Sun, 22 Aug 2010 23:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-22420</guid>
		<description>PHP short tags have been deprecated. This will no longer work in newer versions of PHP and isn&#039;t considered a best practice :(</description>
		<content:encoded><![CDATA[<p>PHP short tags have been deprecated. This will no longer work in newer versions of PHP and isn&#8217;t considered a best practice :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Sheehan</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31250</link>
		<dc:creator>Tim Sheehan</dc:creator>
		<pubDate>Sun, 22 Aug 2010 23:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31250</guid>
		<description>PHP short tags have been deprecated. This will no longer work in newer versions of PHP and isn&#039;t considered a best practice :(</description>
		<content:encoded><![CDATA[<p>PHP short tags have been deprecated. This will no longer work in newer versions of PHP and isn&#8217;t considered a best practice :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: helium</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-21886</link>
		<dc:creator>helium</dc:creator>
		<pubDate>Fri, 23 Jul 2010 08:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-21886</guid>
		<description>MVC? seperate display elements? 

Personaly i prefer using full:

if($bla = &#039;blah&#039;)
{
    //code
}

just for readability and flow ^_^</description>
		<content:encoded><![CDATA[<p>MVC? seperate display elements? </p>
<p>Personaly i prefer using full:</p>
<p>if($bla = &#8216;blah&#8217;)<br />
{<br />
    //code<br />
}</p>
<p>just for readability and flow ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: helium</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31248</link>
		<dc:creator>helium</dc:creator>
		<pubDate>Fri, 23 Jul 2010 08:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31248</guid>
		<description>MVC? seperate display elements? 

Personaly i prefer using full:

if($bla = &#039;blah&#039;)
{
    //code
}

just for readability and flow ^_^</description>
		<content:encoded><![CDATA[<p>MVC? seperate display elements? </p>
<p>Personaly i prefer using full:</p>
<p>if($bla = &#8216;blah&#8217;)<br />
{<br />
    //code<br />
}</p>
<p>just for readability and flow ^_^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-14088</link>
		<dc:creator>Yang</dc:creator>
		<pubDate>Wed, 26 Aug 2009 01:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-14088</guid>
		<description>This streamlining trick actually sucks. It doesn&#039;t read easier at all but obfuscates the logics in some way. Highly UNrecommended.</description>
		<content:encoded><![CDATA[<p>This streamlining trick actually sucks. It doesn&#8217;t read easier at all but obfuscates the logics in some way. Highly UNrecommended.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31246</link>
		<dc:creator>Yang</dc:creator>
		<pubDate>Wed, 26 Aug 2009 01:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31246</guid>
		<description>This streamlining trick actually sucks. It doesn&#039;t read easier at all but obfuscates the logics in some way. Highly UNrecommended.</description>
		<content:encoded><![CDATA[<p>This streamlining trick actually sucks. It doesn&#8217;t read easier at all but obfuscates the logics in some way. Highly UNrecommended.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tip for Streamlining Your PHP if(statements) &#124; Choose Daily</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-13071</link>
		<dc:creator>Tip for Streamlining Your PHP if(statements) &#124; Choose Daily</dc:creator>
		<pubDate>Sat, 08 Aug 2009 11:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-13071</guid>
		<description>[...] Tip for Streamlining Your PHP if(statements) [...]</description>
		<content:encoded><![CDATA[<p>[...] Tip for Streamlining Your PHP if(statements) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12956</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Fri, 07 Aug 2009 10:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12956</guid>
		<description>Absolutely! As long as what you write is clear and well-documented, it really doesn&#039;t matter what you use.

Further to your comment, I prefer leaving the modification of variables out of the HTML parts of my code. I&#039;d simply do whatever was needed to the variable to the place that was calling it. I really don&#039;t like to have anything more than if ($blah === false) and foreaches in my HTML but then, as you say, it&#039;s all down to preference. Like most, I&#039;ve certainly taken my style of coding through many iterations before arriving at something I find easy to return to and maintain!</description>
		<content:encoded><![CDATA[<p>Absolutely! As long as what you write is clear and well-documented, it really doesn&#8217;t matter what you use.</p>
<p>Further to your comment, I prefer leaving the modification of variables out of the HTML parts of my code. I&#8217;d simply do whatever was needed to the variable to the place that was calling it. I really don&#8217;t like to have anything more than if ($blah === false) and foreaches in my HTML but then, as you say, it&#8217;s all down to preference. Like most, I&#8217;ve certainly taken my style of coding through many iterations before arriving at something I find easy to return to and maintain!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31244</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Fri, 07 Aug 2009 10:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31244</guid>
		<description>Absolutely! As long as what you write is clear and well-documented, it really doesn&#039;t matter what you use.

Further to your comment, I prefer leaving the modification of variables out of the HTML parts of my code. I&#039;d simply do whatever was needed to the variable to the place that was calling it. I really don&#039;t like to have anything more than if ($blah === false) and foreaches in my HTML but then, as you say, it&#039;s all down to preference. Like most, I&#039;ve certainly taken my style of coding through many iterations before arriving at something I find easy to return to and maintain!</description>
		<content:encoded><![CDATA[<p>Absolutely! As long as what you write is clear and well-documented, it really doesn&#8217;t matter what you use.</p>
<p>Further to your comment, I prefer leaving the modification of variables out of the HTML parts of my code. I&#8217;d simply do whatever was needed to the variable to the place that was calling it. I really don&#8217;t like to have anything more than if ($blah === false) and foreaches in my HTML but then, as you say, it&#8217;s all down to preference. Like most, I&#8217;ve certainly taken my style of coding through many iterations before arriving at something I find easy to return to and maintain!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keir Whitaker</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12905</link>
		<dc:creator>Keir Whitaker</dc:creator>
		<pubDate>Thu, 06 Aug 2009 18:32:12 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12905</guid>
		<description>I totally understand that viewpoint. For me having the ability to modify variables easily, output form elements from arrays, have filters and the number of plugins available made Smarty work for me. But yes you are right, it still takes time to learn the syntax and get your head round how it works.

As I think the comments have highlighted it&#039;s really down to personal preference and your own coding style :)</description>
		<content:encoded><![CDATA[<p>I totally understand that viewpoint. For me having the ability to modify variables easily, output form elements from arrays, have filters and the number of plugins available made Smarty work for me. But yes you are right, it still takes time to learn the syntax and get your head round how it works.</p>
<p>As I think the comments have highlighted it&#8217;s really down to personal preference and your own coding style :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keir Whitaker</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31242</link>
		<dc:creator>Keir Whitaker</dc:creator>
		<pubDate>Thu, 06 Aug 2009 18:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31242</guid>
		<description>I totally understand that viewpoint. For me having the ability to modify variables easily, output form elements from arrays, have filters and the number of plugins available made Smarty work for me. But yes you are right, it still takes time to learn the syntax and get your head round how it works.

As I think the comments have highlighted it&#039;s really down to personal preference and your own coding style :)</description>
		<content:encoded><![CDATA[<p>I totally understand that viewpoint. For me having the ability to modify variables easily, output form elements from arrays, have filters and the number of plugins available made Smarty work for me. But yes you are right, it still takes time to learn the syntax and get your head round how it works.</p>
<p>As I think the comments have highlighted it&#8217;s really down to personal preference and your own coding style :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12901</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Thu, 06 Aug 2009 17:57:45 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12901</guid>
		<description>When embedding in HTML, this is definitely the way to go. Personally, I don&#039;t see the point in using Smarty - it&#039;s no easier to read than PHP when it&#039;s done like this, making it an unnecessary overhead in my mind.</description>
		<content:encoded><![CDATA[<p>When embedding in HTML, this is definitely the way to go. Personally, I don&#8217;t see the point in using Smarty &#8211; it&#8217;s no easier to read than PHP when it&#8217;s done like this, making it an unnecessary overhead in my mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jasper</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31240</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Thu, 06 Aug 2009 17:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31240</guid>
		<description>When embedding in HTML, this is definitely the way to go. Personally, I don&#039;t see the point in using Smarty - it&#039;s no easier to read than PHP when it&#039;s done like this, making it an unnecessary overhead in my mind.</description>
		<content:encoded><![CDATA[<p>When embedding in HTML, this is definitely the way to go. Personally, I don&#8217;t see the point in using Smarty &#8211; it&#8217;s no easier to read than PHP when it&#8217;s done like this, making it an unnecessary overhead in my mind.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy Girlardo</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12874</link>
		<dc:creator>Billy Girlardo</dc:creator>
		<pubDate>Thu, 06 Aug 2009 12:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12874</guid>
		<description>I like braces because it keeps code compartmentalized.</description>
		<content:encoded><![CDATA[<p>I like braces because it keeps code compartmentalized.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Billy Girlardo</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31238</link>
		<dc:creator>Billy Girlardo</dc:creator>
		<pubDate>Thu, 06 Aug 2009 12:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31238</guid>
		<description>I like braces because it keeps code compartmentalized.</description>
		<content:encoded><![CDATA[<p>I like braces because it keeps code compartmentalized.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edmund</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12855</link>
		<dc:creator>Edmund</dc:creator>
		<pubDate>Thu, 06 Aug 2009 09:08:01 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12855</guid>
		<description>I totally agree with Jens Ljungblad. It seems that you&#039;ve never used a decent PHP framework (if any at all). Don&#039;t throw rocks at other people if you don&#039;t even know if they&#039;re really guilty.

And do you seriously think that designers would get confused with this alternative syntax? Personally, I think a designer would get the idea in approximately 5 minutes if he was familiar with PHP.</description>
		<content:encoded><![CDATA[<p>I totally agree with Jens Ljungblad. It seems that you&#8217;ve never used a decent PHP framework (if any at all). Don&#8217;t throw rocks at other people if you don&#8217;t even know if they&#8217;re really guilty.</p>
<p>And do you seriously think that designers would get confused with this alternative syntax? Personally, I think a designer would get the idea in approximately 5 minutes if he was familiar with PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edmund</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31236</link>
		<dc:creator>Edmund</dc:creator>
		<pubDate>Thu, 06 Aug 2009 09:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31236</guid>
		<description>I totally agree with Jens Ljungblad. It seems that you&#039;ve never used a decent PHP framework (if any at all). Don&#039;t throw rocks at other people if you don&#039;t even know if they&#039;re really guilty.

And do you seriously think that designers would get confused with this alternative syntax? Personally, I think a designer would get the idea in approximately 5 minutes if he was familiar with PHP.</description>
		<content:encoded><![CDATA[<p>I totally agree with Jens Ljungblad. It seems that you&#8217;ve never used a decent PHP framework (if any at all). Don&#8217;t throw rocks at other people if you don&#8217;t even know if they&#8217;re really guilty.</p>
<p>And do you seriously think that designers would get confused with this alternative syntax? Personally, I think a designer would get the idea in approximately 5 minutes if he was familiar with PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack Sleight</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12854</link>
		<dc:creator>Jack Sleight</dc:creator>
		<pubDate>Thu, 06 Aug 2009 09:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12854</guid>
		<description>I think it&#039;s more of a personal preference than one being more streamlined and &quot;easier to read&quot; than the other. I personally prefer to use one style (curly braces) consistently throughout all code (templates. scripts, classes etc.).</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s more of a personal preference than one being more streamlined and &#8220;easier to read&#8221; than the other. I personally prefer to use one style (curly braces) consistently throughout all code (templates. scripts, classes etc.).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack Sleight</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31234</link>
		<dc:creator>Jack Sleight</dc:creator>
		<pubDate>Thu, 06 Aug 2009 09:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31234</guid>
		<description>I think it&#039;s more of a personal preference than one being more streamlined and &quot;easier to read&quot; than the other. I personally prefer to use one style (curly braces) consistently throughout all code (templates. scripts, classes etc.).</description>
		<content:encoded><![CDATA[<p>I think it&#8217;s more of a personal preference than one being more streamlined and &#8220;easier to read&#8221; than the other. I personally prefer to use one style (curly braces) consistently throughout all code (templates. scripts, classes etc.).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edmund</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12852</link>
		<dc:creator>Edmund</dc:creator>
		<pubDate>Thu, 06 Aug 2009 08:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12852</guid>
		<description>I picked this style from CodeIgniter, a PHP framework. It&#039;s a real pleasure to write PHP code and combine it with HTML in view files. If you align code blocks correctly, it actually improves readability and you don&#039;t need to mess with those curly brackets anymore (as far as output/view files are concerned, of course).</description>
		<content:encoded><![CDATA[<p>I picked this style from CodeIgniter, a PHP framework. It&#8217;s a real pleasure to write PHP code and combine it with HTML in view files. If you align code blocks correctly, it actually improves readability and you don&#8217;t need to mess with those curly brackets anymore (as far as output/view files are concerned, of course).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edmund</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31232</link>
		<dc:creator>Edmund</dc:creator>
		<pubDate>Thu, 06 Aug 2009 08:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31232</guid>
		<description>I picked this style from CodeIgniter, a PHP framework. It&#039;s a real pleasure to write PHP code and combine it with HTML in view files. If you align code blocks correctly, it actually improves readability and you don&#039;t need to mess with those curly brackets anymore (as far as output/view files are concerned, of course).</description>
		<content:encoded><![CDATA[<p>I picked this style from CodeIgniter, a PHP framework. It&#8217;s a real pleasure to write PHP code and combine it with HTML in view files. If you align code blocks correctly, it actually improves readability and you don&#8217;t need to mess with those curly brackets anymore (as far as output/view files are concerned, of course).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristiano Rastelli</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12846</link>
		<dc:creator>Cristiano Rastelli</dc:creator>
		<pubDate>Thu, 06 Aug 2009 08:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12846</guid>
		<description>An even shorter sintax (to be enabled in the php.ini file) is called &quot;short tags&quot; which makes code even more readeable:

&lt;? if(): ?&gt;
// Output

// Output


and using ternary operators you can do:

&lt;?=  () ? &quot;Output #1&quot; : &quot;Output #2&quot;; ?&gt;

instead of using the old-style &quot;echo&quot; command.</description>
		<content:encoded><![CDATA[<p>An even shorter sintax (to be enabled in the php.ini file) is called &#8220;short tags&#8221; which makes code even more readeable:</p>
<p>&lt;? if(): ?&gt;<br />
// Output</p>
<p>// Output</p>
<p>and using ternary operators you can do:</p>
<p>&lt;?=  () ? &#8220;Output #1&#8243; : &#8220;Output #2&#8243;; ?&gt;</p>
<p>instead of using the old-style &#8220;echo&#8221; command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristiano Rastelli</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31230</link>
		<dc:creator>Cristiano Rastelli</dc:creator>
		<pubDate>Thu, 06 Aug 2009 08:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31230</guid>
		<description>An even shorter sintax (to be enabled in the php.ini file) is called &quot;short tags&quot; which makes code even more readeable:

&lt;? if(): ?&gt;
// Output

// Output


and using ternary operators you can do:

&lt;?=  () ? &quot;Output #1&quot; : &quot;Output #2&quot;; ?&gt;

instead of using the old-style &quot;echo&quot; command.</description>
		<content:encoded><![CDATA[<p>An even shorter sintax (to be enabled in the php.ini file) is called &#8220;short tags&#8221; which makes code even more readeable:</p>
<p>&lt;? if(): ?&gt;<br />
// Output</p>
<p>// Output</p>
<p>and using ternary operators you can do:</p>
<p>&lt;?=  () ? &#8220;Output #1&#8243; : &#8220;Output #2&#8243;; ?&gt;</p>
<p>instead of using the old-style &#8220;echo&#8221; command.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12824</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 05 Aug 2009 23:57:06 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12824</guid>
		<description>It&#039;s been used in Drupal templates for years too. I&#039;ve never really seen the point of using this alternative control structure but reading this post has highlighted the fact that it is slightly clearer in this particular case, ie. mixing PHP and HTML.</description>
		<content:encoded><![CDATA[<p>It&#8217;s been used in Drupal templates for years too. I&#8217;ve never really seen the point of using this alternative control structure but reading this post has highlighted the fact that it is slightly clearer in this particular case, ie. mixing PHP and HTML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31228</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Wed, 05 Aug 2009 23:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31228</guid>
		<description>It&#039;s been used in Drupal templates for years too. I&#039;ve never really seen the point of using this alternative control structure but reading this post has highlighted the fact that it is slightly clearer in this particular case, ie. mixing PHP and HTML.</description>
		<content:encoded><![CDATA[<p>It&#8217;s been used in Drupal templates for years too. I&#8217;ve never really seen the point of using this alternative control structure but reading this post has highlighted the fact that it is slightly clearer in this particular case, ie. mixing PHP and HTML.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogphanny</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12823</link>
		<dc:creator>bogphanny</dc:creator>
		<pubDate>Wed, 05 Aug 2009 23:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12823</guid>
		<description>it is worth noting that using the colon syntax for Else-If blocks requires &quot;elseif&quot;, rather than &quot;else if&quot; (which otherwise works if you use the curly brace syntax)</description>
		<content:encoded><![CDATA[<p>it is worth noting that using the colon syntax for Else-If blocks requires &#8220;elseif&#8221;, rather than &#8220;else if&#8221; (which otherwise works if you use the curly brace syntax)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bogphanny</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-31226</link>
		<dc:creator>bogphanny</dc:creator>
		<pubDate>Wed, 05 Aug 2009 23:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-31226</guid>
		<description>it is worth noting that using the colon syntax for Else-If blocks requires &quot;elseif&quot;, rather than &quot;else if&quot; (which otherwise works if you use the curly brace syntax)</description>
		<content:encoded><![CDATA[<p>it is worth noting that using the colon syntax for Else-If blocks requires &#8220;elseif&#8221;, rather than &#8220;else if&#8221; (which otherwise works if you use the curly brace syntax)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Ljungblad</title>
		<link>http://thinkvitamin.com/code/tip-for-streamlining-your-php-ifstatements/#comment-12819</link>
		<dc:creator>Jens Ljungblad</dc:creator>
		<pubDate>Wed, 05 Aug 2009 21:20:21 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=2608#comment-12819</guid>
		<description>For your information, Zend Framework, Symfony, CakePhp, Codeigniter, ALL the major Php frameworks advocate and promote the alternative syntax for view templates. Your statement doesn&#039;t make any sense, and pretty much makes you look like you&#039;ve been living under a rock for the past five years. Languages evolve. Get with the times.</description>
		<content:encoded><![CDATA[<p>For your information, Zend Framework, Symfony, CakePhp, Codeigniter, ALL the major Php frameworks advocate and promote the alternative syntax for view templates. Your statement doesn&#8217;t make any sense, and pretty much makes you look like you&#8217;ve been living under a rock for the past five years. Languages evolve. Get with the times.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.425 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-11 23:20:22 -->

