<?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>Mon, 20 May 2013 00:35:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Gonzalo Ayuso's Blog: PHP Template Engine Comparison]]></title>
      <guid>http://www.phpdeveloper.org/news/15748</guid>
      <link>http://www.phpdeveloper.org/news/15748</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Gonzalo Ayuso</i> has put together a comparison of a few <a href="http://gonzalo123.wordpress.com/2011/01/17/php-template-engine-comparison/">PHP templating alternatives</a> out there developers can use to further separate the view logic from the main parts of their application.
</p>
<blockquote>
Template engines has a lot of features but I normally only use a few of them and the other features very seldom. In this performance test I will check the same features under different template engines to see the syntax differences and the performance. The template engines selected for the test are <a href="http://www.smarty.net/">Smarty</a>, <a href="http://www.twig-project.org/">Twig</a> and <a href="http://haanga.org/">Haanga</a>.
</blockquote>
<p>
He does some testing with each, creating a basic template to loop and create a basic table (template code and PHP code included) as well as an example using template inheritance with each. The reports of his tests are shared at the end with stats for memory used and execution time for both the normal templates and the inherited versions - but you'll have to <a href="http://gonzalo123.wordpress.com/2011/01/17/php-template-engine-comparison/">check out the post</a> for those results.
</p>]]></description>
      <pubDate>Mon, 17 Jan 2011 08:16:37 -0600</pubDate>
    </item>
  </channel>
</rss>
