htmltmpl is a templating engine for Python and PHP. It is targeted to web application developers, who want to separate program code and design (HTML code) of their projects. Even webdesigners can easily learn its simple but powerful template language.
A very easy to use yet powerful and quick template engine. Enables you to seperate your page layout/design from your code. It can handle simple variable replacement and table building using two dimensional arrays and/or MySQL result sets (Meaning that given a single row in the template, this class can build an entire table of data). Performance is excellent. Has support for multiple template files.
Smarty is a template engine for PHP. Smarty provides your basic variable substitution and dynamic block functionality, and also takes a step further to be a "smart" template engine, adding features such as configuration files, template functions, variable modifiers, and making all of this functionality as easy as possible to use for both programmers and template designers. Smarty also converts the templates into PHP scripts, eliminating the need to parse the templates on every invocation. This makes Smarty extremely scalable and managable for large application needs.
Apolda Template is a simple, but powerful template class written in PHP. Main features are: Support of simple replacements and multiple (nested) blocks. Simple API, easy to understand especially from the programmer's point of view. Flexible block handling via Template objects.
TemplatePower offers you the ability to separate your PHP code and your (HTML) layoutfile. It's simular to the popular template class FastTemplate, but a lot faster (about 6x faster).
VarPage Class
VarPage is a replacement for ShellPage, a VERY simple PHP class for building websites based on Template files. All you have to do is design a template HTML file with a few comment tags in it, as the master design for your site. Then create each of your web site's pages as a PHP page that calls VarPage and embeds your content into the template.