Gravatar > PHPScanDir > Templating

Templating

From SwitchBL8's wiki

Jump to: navigation, search

Contents

[edit] Smarty

Smarty website

Very mature template engine. Has caching. Uses very simple tags that allow a non-technical person to create a template.

[edit] phpBB

phpBB forum software

The bulletin board software phpBB (as seen here too) has it's own very good templating mechanism.

[edit] MiniTemplator

MiniTemplator

This is a very simple template engine, basically the search-and-replace you would do when coding by hand. The advantage of MiniTemplator is that it's available for Java and VB/VBA too, so in theory one would not create a PHP-depency. In reality though, it's not such a big plus.

[edit] Yapte®

Yapter

Simple engine. Has loops (BLOCK -> END). Enough documentation. Features average.

[edit] Savant

Savant

Alternative to Smarty. Uses PHP-tags, so you don't have to learn yet another set of tags. Savant3 is for PHP5. Has error handling. Difference with Smarty is that the tags are PHP, so you can't have a non-technical person (as in: pure Designer) creating the templates. That's nice for a small technical group, not for bigger sites where you have seperate GUI-designers and coders.

[edit] phpLib

HTML_Template_PHPLib formerly know as phpLib

Basically the standard search & replace method. Nothing fancy. But mature. Not recently updated (2003).