News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
The HYSOCAMTT templating approach
February 27, 2008 @ 07:56:00

In a new post to the Zend Developer Zone, Brett Zamir has posted a new tutorial 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".

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

The tutorial uses an extension for Smarty called SmartyDocB 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.

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.

0 comments voice your opinion now!
hysocmatt template approach tutorial smarty smartydocb seperation concerns


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Securing Data Sent Via GET Requests

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Mandriva 2008.0

PHPBuilder.com: Search Google Books with the Zend Framework's Zend_Gdata Component

Alan Knowles' Blog: Getting Started with HTML_FlexyFramework, DataObjects and HTML_Template_Flexy

Zend Developer Zone: Create your own widget with PHP-GTK


Community Events





Don't see your event here?
Let us know!


framework install testing laravel developer symfony2 interview podcast language experience series introduction unittest community list code refactor opinion release threedevsandamaybe

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework