We have just upgraded our site to the latest development version (CVS + Smarty). We are now using Smarty template engine as the new theme system. Now, what is Smarty, and what would be the benefit for us users and developers?
Quote:
Quoted from http://smarty.php.net/:
Smarty is a template engine for PHP. More specifically, it facilitates a managable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person.
In short, with Smarty, designers can have total control over application presentation by just modifying template files, and module developers would only need to concentrate on application logic and passing variables to those template files.
For example, our old 'phpkaox' theme file looked like this: