<?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 04:00:21 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Smashing Magazine: Getting Started With PHP Templating]]></title>
      <guid>http://www.phpdeveloper.org/news/17005</guid>
      <link>http://www.phpdeveloper.org/news/17005</link>
      <description><![CDATA[<p>
On the Smashing Magazine site today there's a new post <a href="http://coding.smashingmagazine.com/2011/10/17/getting-started-with-php-templating/">introducing you to templating</a> in PHP applications. They cover both the creation of a simple, custom templating library as well as using a more widely known too - <a href="http://twig-project.org">Twig</a>.
</p>
<blockquote>
In this article, we'll cover how to separate the view of your PHP application from its other components. We'll look at why using such an architecture is useful and what tools we can use to accomplish this. [...] To fully benefit from this article, you should already know how to write and run your own PHP scripts on a Web server (i.e. using Apache).
</blockquote>
<p>
They start with the very basics of templating, mostly pointing out how it reduces the dependency of having layout code directly in your application's logic. It makes things easier to reuse and makes for better code structure in the long run. They mention other templating engines like <a href="http://www.smarty.net/">Smarty</a>, <a href="http://phptal.org/">PHPTAL</a> and <a href="http://www.twig-project.org/">Twig</a>, but focus in on the last for their code samples. They show basic templating, making reusable templates, applying filters and working with simple control structures.
</p>]]></description>
      <pubDate>Tue, 18 Oct 2011 09:15:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: 5 Popular PHP Template Engines Worth Checking Out]]></title>
      <guid>http://www.phpdeveloper.org/news/16168</guid>
      <link>http://www.phpdeveloper.org/news/16168</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a new article looking at <a href="http://www.phpbuilder.com/columns/5-template-engines/Jason_Gilmore04072011.php3">five PHP templating engines</a> that they think are worth a look for use in your next project (or maybe in a current one).
</p>
<blockquote>
In this article I'll introduce five of PHP's most popular templating engines, providing you with a basis for continuing your own investigations. Keep in mind however that this list is by no means definitive; if you have experience using a templating engine not discussed here, please tell us about it in the comments!
</blockquote>
<p>The five template engines the author chose to spotlight are:</p>
<ul>
<li>Smarty
<li>Dwoo
<li>Twig
<li>Savant3
<li>PHPTal
</ul>
<p>
Each comes with a description of its major features and a code snippet or two showing it in use.
</p>]]></description>
      <pubDate>Fri, 08 Apr 2011 13:23:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: New Tutorials - PHPTAL, Multiple Checkboxes, and counterCache]]></title>
      <guid>http://www.phpdeveloper.org/news/7739</guid>
      <link>http://www.phpdeveloper.org/news/7739</link>
      <description><![CDATA[<p>
In the CakePHP blog, The Bakery, there are three new items posted - all three tutorials on different topics:
<ul>
<li>The first is <a href="http://bakery.cakephp.org/articles/view/using-phptal-for-templates-phptalview-class">a tutorial</a> that shows how to integrate PHPTAL templates into a Cake application (via a custom PhptalView class)
<li>Next up is a simple one - <a href="http://bakery.cakephp.org/articles/view/multiple-checkbox">the creation of a helper</a> to work with multiple checkboxes in a form .
<li>Lastly, there's <a href="http://bakery.cakephp.org/articles/view/countercache-or-counter_cache-behavior">a tutorial</a> that shows an implementation for a counterCache object in a simple application.
</ul>
Be sure to check out <a href="http://bakery.cakephp.org/">The Bakery</a> for more great tutorials and articles like this.
</p>]]></description>
      <pubDate>Mon, 30 Apr 2007 16:04:22 -0500</pubDate>
    </item>
  </channel>
</rss>
