<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sun, 19 May 2013 14:31:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[YoungCoders.com: Debunking the Bloated Smarty Myth]]></title>
      <guid>http://www.phpdeveloper.org/news/6477</guid>
      <link>http://www.phpdeveloper.org/news/6477</link>
      <description><![CDATA[<p>
As mentioned in <a href="http://devzone.zend.com/node/view/id/1026">this new post</a> on the Zend Developer Zone, there's a <a href="http://youngcoders.com/showthread.php?t=22695">forum posting</a> over on the YoungCoders.com website that looks to dispell the "age old" myth about <a href="http://smarty.php.net">Smarty</a> - it's suposed bloated nature.
</p>
<blockquote>
There has been a lot of talk about how <a href="http://smarty.php.net/">Smarty</a>, a popular template engine for PHP, is bloated and not useful because PHP is already a templating engine and that you're essentially creating a template engine out of a template engine. As everything I read could just say that it was bloated without backing up their statement, I decided to investigate it myself.
</blockquote>
<p>
He describes what Smarty is and how to can help you and your site with compiled templates. There's a brief look at the syntax it uses and how it can help make the output of the site simpler than invoking PHP each time. He also gets a bit more indepth on the templating system, showing the process it uses to check the template and update if it needs to.
</p>
<p>
His <a href="http://youngcoders.com/showthread.php?t=22695">conclusion</a>? Smarty isn't that much different than any other kind of simple PHP-based templating language out there. So, what about the slowness? Well, he recommends checking your compiling setting - that's where the overhead is when the pages are loading.
</p>]]></description>
      <pubDate>Wed, 11 Oct 2006 11:16:00 -0500</pubDate>
    </item>
  </channel>
</rss>
