August 2006
Django | Documentation | Template guide
by fredbird (via)Django's template language is designed to strike a balance between power and ease. It's designed to feel comfortable to those used to working with HTML. If you have any exposure to other text-based template languages, such as Smarty or CheetahTemplate, you should feel right at home with Django's templates.
Templates
A template is simply a text file. It can generate any text-based format (HTML, XML, CSV, etc.).
A template contains variables, which get replaced with values when the template is evaluated, and tags, which control the logic of the template.
PHP Application Tools :: About the project
by fredbirdPHP Applicaton Tools, aka 'pat' is a collection of LGPL and GPL PHP-based software destined to make everyday web development easier
July 2006
Expose | PHP template engine
by fredbirdExpose is a template engine written in PHP. A template is a special kind of document that describes how a page will look like. How does this differ from writing webpages/applications using ordinary PHP files? A template does not contain code to fetch data from a database or deal with forms. It only contains code how this data is transformed to HTML.
There's a lot of debate in the template world about wether one should use a template engine that uses a custom syntax (eg. Smarty) or one that uses PHP as it is (eg. PHPSavant). The first approach has the advantage of a safe environment designers work in, at the cost of reduced flexibility. The latter has the advantage of the full power of PHP, at the cost of reduced security. Expose uses both approaches. It supports (most) PHP functions and language elements while still being secure by using a tokenizer and compiler that checks the syntax and functions that are used.
Savant2 (2.4.3)
by fredbird & 1 otherSavant is a powerful but lightweight object-oriented template system for PHP.
Unlike other template systems, Savant by default does not compile your templates into PHP; instead, it uses PHP itself as its template language so you don't need to learn a new markup system.
Savant has an object-oriented system of template plugins and output filters so you can add to its behavior quickly and easily.
1
(4 marks)