More information about the Underscore mailing list

[_] PHP templating systems

Tim Brayshaw tim at twisty.com
Tue Nov 21 20:03:53 GMT 2006

On 21 Nov 2006, at 12:41, James Tarling wrote:

> Does anyone use any PHP templating systems that they would recommend?
> I've been using HTML_Template_ITX from the PEAR repository, which I
> like because there's no logic/control flow in the templates. But I've
> spent hours trying to sort out problems with caching of templates, and
> wondered what the alternatives might be? I need to hand the templates
> over to a designer, who probably won't want to learn XSLT

I use Smarty because... well... I've been using it for ages and I'm  
used to it ;-)

It also has caching built-in, which isn't hard to implement.

     http://smarty.php.net/

"Template Lite" is an alternative engine here that shares the same  
template syntax as Smarty (not used this though):

     http://templatelite.sourceforge.net/

Regards,

Tim.