<?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: webme frontend working</title>
	<atom:link href="http://verens.com/2009/01/04/webme-frontend-working/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com/2009/01/04/webme-frontend-working/</link>
	<description>klog - Kae&#039;s Log</description>
	<lastBuildDate>Fri, 10 Feb 2012 21:49:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/2009/01/04/webme-frontend-working/#comment-1189</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Mon, 05 Jan 2009 18:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=582#comment-1189</guid>
		<description>I am wary of anything that&#039;s said by someone who is trying to stay anonymous (you are /not/ &quot;root @ microsoft.com&quot;) because usually it is said by someone who thinks what they are saying is so embarrassing that they don&#039;t want to be associated with it.

I think you are missing the point of templating engines. The point of using something like Smarty (at least /my/ reason for using it) is not so you can have yet another programming language, but that it is separation of view from model and content. In essence, the template is the V in MVC.

I don&#039;t mind designers playing with Views, but I really don&#039;t want them messing with the Controllers and Models. Smarty and other templating engines are good because designers can use plain HTML with a /minimum/ of code to data variables.

The articles you mentioned argue that templating engines are largely useless because they go beyond simple templating and add programmatic abilities as well. I agree with that. If you need to create an &quot;if&quot; conditional, then you should probably be doing it in the controller, and not in the view.

However, just because Smarty allows you to do X, Y and Z, does not mean you should ignore it just because you only need X. If you don&#039;t need Y and Z, then don&#039;t use them.</description>
		<content:encoded><![CDATA[<p>I am wary of anything that&#8217;s said by someone who is trying to stay anonymous (you are /not/ &#8220;root @ microsoft.com&#8221;) because usually it is said by someone who thinks what they are saying is so embarrassing that they don&#8217;t want to be associated with it.</p>
<p>I think you are missing the point of templating engines. The point of using something like Smarty (at least /my/ reason for using it) is not so you can have yet another programming language, but that it is separation of view from model and content. In essence, the template is the V in MVC.</p>
<p>I don&#8217;t mind designers playing with Views, but I really don&#8217;t want them messing with the Controllers and Models. Smarty and other templating engines are good because designers can use plain HTML with a /minimum/ of code to data variables.</p>
<p>The articles you mentioned argue that templating engines are largely useless because they go beyond simple templating and add programmatic abilities as well. I agree with that. If you need to create an &#8220;if&#8221; conditional, then you should probably be doing it in the controller, and not in the view.</p>
<p>However, just because Smarty allows you to do X, Y and Z, does not mean you should ignore it just because you only need X. If you don&#8217;t need Y and Z, then don&#8217;t use them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: root</title>
		<link>http://verens.com/2009/01/04/webme-frontend-working/#comment-1188</link>
		<dc:creator>root</dc:creator>
		<pubDate>Mon, 05 Jan 2009 18:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/?p=582#comment-1188</guid>
		<description>php  _IS_ template engine itself and its not necessary to add another useless layer

check it out
http://www.phppatterns.com/docs/design/templates_and_template_engines
http://massassi.com/php/articles/template_engines/</description>
		<content:encoded><![CDATA[<p>php  _IS_ template engine itself and its not necessary to add another useless layer</p>
<p>check it out<br />
<a href="http://www.phppatterns.com/docs/design/templates_and_template_engines" rel="nofollow">http://www.phppatterns.com/docs/design/templates_and_template_engines</a><br />
<a href="http://massassi.com/php/articles/template_engines/" rel="nofollow">http://massassi.com/php/articles/template_engines/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

