<?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: Call me anal, but I really like Django templates</title>
	<atom:link href="http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/feed/" rel="self" type="application/rss+xml" />
	<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/</link>
	<description>You&#039;re never too old for a happy childhood</description>
	<lastBuildDate>Mon, 21 May 2012 16:37:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kenny Meyer</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1977</link>
		<dc:creator>Kenny Meyer</dc:creator>
		<pubDate>Thu, 11 Feb 2010 23:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1977</guid>
		<description>I think Django templates&#039; syntax is much cleaner and readable than PHP syntax is. It may not be so flexible like PHP templates, but Django template&#039;s syntax was designed for Designers (non-programmers), providing just simple logical stuff like for-loops, if-else-conditionals, and some other stuff.
But you can easily extend the syntax (!!) or replace the template engine completely by a more flexible one.
Now tell me if PHP can do that. ;)

Smile and laugh :)</description>
		<content:encoded><![CDATA[<p>I think Django templates&#8217; syntax is much cleaner and readable than PHP syntax is. It may not be so flexible like PHP templates, but Django template&#8217;s syntax was designed for Designers (non-programmers), providing just simple logical stuff like for-loops, if-else-conditionals, and some other stuff.<br />
But you can easily extend the syntax (!!) or replace the template engine completely by a more flexible one.<br />
Now tell me if PHP can do that. ;)</p>
<p>Smile and laugh :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stii</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1407</link>
		<dc:creator>Stii</dc:creator>
		<pubDate>Mon, 26 Oct 2009 20:53:48 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1407</guid>
		<description>No, that is true. However, PHP has to have .php unless you&#039;ve setup your web server to parse other file extensions as PHP. In Django it doesn&#039;t matter, but it is common practice, no? 

Really, it doesn&#039;t matter, but it is one of those small things that amuse my small mind ;)</description>
		<content:encoded><![CDATA[<p>No, that is true. However, PHP has to have .php unless you&#8217;ve setup your web server to parse other file extensions as PHP. In Django it doesn&#8217;t matter, but it is common practice, no? </p>
<p>Really, it doesn&#8217;t matter, but it is one of those small things that amuse my small mind ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrique</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1406</link>
		<dc:creator>Henrique</dc:creator>
		<pubDate>Mon, 26 Oct 2009 20:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1406</guid>
		<description>Sorry, but you&#039;re somewhat confused. Django doesn&#039;t enforce any extension for template names - in fact, the template name and extension won&#039;t influence anything at all as the result is just a big string to HttpResponse.

Your templates can end in .html, .xml, .pony, doesn&#039;t matter. It&#039;s just a file with placeholders.</description>
		<content:encoded><![CDATA[<p>Sorry, but you&#8217;re somewhat confused. Django doesn&#8217;t enforce any extension for template names &#8211; in fact, the template name and extension won&#8217;t influence anything at all as the result is just a big string to HttpResponse.</p>
<p>Your templates can end in .html, .xml, .pony, doesn&#8217;t matter. It&#8217;s just a file with placeholders.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charl van Niekerk</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1288</link>
		<dc:creator>Charl van Niekerk</dc:creator>
		<pubDate>Sat, 03 Oct 2009 01:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1288</guid>
		<description>Mmm ok, seems like your comment system just ate my PHP code block between &quot;type&quot; and &quot;every time&quot;. :)

?php echo htmlspecialchars($myvar); ? (leaving the brackets off this time)</description>
		<content:encoded><![CDATA[<p>Mmm ok, seems like your comment system just ate my PHP code block between &#8220;type&#8221; and &#8220;every time&#8221;. :)</p>
<p>?php echo htmlspecialchars($myvar); ? (leaving the brackets off this time)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charl van Niekerk</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1287</link>
		<dc:creator>Charl van Niekerk</dc:creator>
		<pubDate>Sat, 03 Oct 2009 01:50:17 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1287</guid>
		<description>Personally the file extensions don&#039;t bother me too much but I have to say that having to use straight PHP templating is just too messy for me. I would much rather use {{ myvar }} and have autoescaping turned on than having to type  every time.

In App Engine I use Django templates all the time and in PHP I use Calypso. It integrates very nicely with Zend Framework.</description>
		<content:encoded><![CDATA[<p>Personally the file extensions don&#8217;t bother me too much but I have to say that having to use straight PHP templating is just too messy for me. I would much rather use {{ myvar }} and have autoescaping turned on than having to type  every time.</p>
<p>In App Engine I use Django templates all the time and in PHP I use Calypso. It integrates very nicely with Zend Framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stii</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1282</link>
		<dc:creator>Stii</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1282</guid>
		<description>LOL, see what I mean?! 

Yes, you&#039;re right, its not technically correct, but if you consider what it is supposed to do (i.e. render HTML) it makes more sense. 

I have and yes, it is quite lacking compared to other Python template systems. Then again, for good reason.</description>
		<content:encoded><![CDATA[<p>LOL, see what I mean?! </p>
<p>Yes, you&#8217;re right, its not technically correct, but if you consider what it is supposed to do (i.e. render HTML) it makes more sense. </p>
<p>I have and yes, it is quite lacking compared to other Python template systems. Then again, for good reason.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Walter</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1281</link>
		<dc:creator>Walter</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1281</guid>
		<description>For me the .html extension is actually technically incorrect: it does not, in fact, contain (only) HTML and therefore invalidates (normally safe) assumptions associated with the extension.

Still, this really isn&#039;t big enough of an issue to feel strongly about it either way. :)

Have you compared Django&#039;s templating system with others? Not that I can speak from experience, but I&#039;ve heard that it&#039;s quite lacking in comparison.</description>
		<content:encoded><![CDATA[<p>For me the .html extension is actually technically incorrect: it does not, in fact, contain (only) HTML and therefore invalidates (normally safe) assumptions associated with the extension.</p>
<p>Still, this really isn&#8217;t big enough of an issue to feel strongly about it either way. :)</p>
<p>Have you compared Django&#8217;s templating system with others? Not that I can speak from experience, but I&#8217;ve heard that it&#8217;s quite lacking in comparison.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stii</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1280</link>
		<dc:creator>Stii</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1280</guid>
		<description>you said it! i&#039;ll do just that...</description>
		<content:encoded><![CDATA[<p>you said it! i&#8217;ll do just that&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://stii.co.za/python/call-me-anal-but-i-really-like-django-templates/comment-page-1/#comment-1279</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://stii.co.za/?p=962#comment-1279</guid>
		<description>You need a beer and weekend buddy!</description>
		<content:encoded><![CDATA[<p>You need a beer and weekend buddy!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

