|
Posted by axlq on 10/11/08 11:54
In article <4rksc2hdfpcen5h8grlf37ms6dlkpfa0nl@4ax.com>,
Andy Dingley <dingbat@codesmiths.com> wrote:
>3. If you must use templating in HTML, then you can do better markers
>than "%%title%%"
For templating, personally I'm a big fan of smarty -- see
http://smarty.php.net
CSS lets you separate styling from markup.
Smarty lets you go further, separating php scripts from HTML
content.
The HTML content is all in templates and the php scripts perform
all the logical operations, set the smarty template variables to be
filled in, etc. The smarty templates have directives to include
other templates, if/elseif/then logic, math and logic operators,
etc.
-A
Navigation:
[Reply to this message]
|