<?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>Wed, 09 Jul 2008 07:22:39 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zend Developer Zone: The HYSOCAMTT templating approach]]></title>
      <guid>http://www.phpdeveloper.org/news/9707</guid>
      <link>http://www.phpdeveloper.org/news/9707</link>
      <description><![CDATA[<p>
In a new post to the Zend Developer Zone, <i>Brett Zamir</i> has <a href="http://devzone.zend.com/article/2814-The-HYSOCAMTT-templating-approach">posted a new tutorial</a> that talks about using the Smarty templating system to create what he calls the HYSOCAMTT templating approach ("Have-Your-Separation-Of-Concerns-And-Mix-Them-Too".
</p>
<blockquote>
This article aims to highlight a approach which allows one to separate everything from one's business logic to one's design logic, to XHTML from CSS, one's Javascript from the page structure, etc., while at the same time being able to be lazy and include, for example, CSS information within the same document (template) as one's XHTML
</blockquote>
<p>
The tutorial uses an extension for Smarty called <a href="http://sourceforge.net/projects/smartydocb">SmartyDocB</a> that makes the documentation side much easier. He works through the templating process and includes some of the code for the .tpl files to get you started.
</p>
<p>
He also includes some future goals for his idea, a mention of XSL templating, XQuery and the potential for templating across programming languages to make your site even more flexible.
</p>]]></description>
      <pubDate>Wed, 27 Feb 2008 07:56:00 -0600</pubDate>
    </item>
  </channel>
</rss>
