PHP Classes

Booster Template: Compiled template engine

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-07-01 (7 years ago) RSS 2.0 feedStarStarStar 51%Total: 961 All time: 3,545 This week: 1,093Up
Version License PHP version Categories  
booster 1.0BSD License4.4Templates
Description Author  

This class implements a compiled template engine.

It processes templates and generates PHP script files that generate the template output when executed.

The template variables are defined as arrays which are extracted into local variables before including the compiled template script files.

The template engine supports variables with optional modifiers, comments, including external template files, adding separate Javascript and CSS style definitions, localized text, inline PHP code, conditional sections and loops to iterate over array variables.

Picture of Chris Lam
Name: Chris Lam <contact>
Classes: 3 packages by
Country: Hong Kong Hong Kong
Age: 28
All time rank: 16719 in Hong Kong Hong Kong
Week rank: 1628 Up9 in Hong Kong Hong Kong Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Booster.class.php Class Main class
Accessible without login Plain text file sample.php Example sample usage of the class
Accessible without login Plain text file test.tpl Data Sample template file
Accessible without login Plain text file header.tpl Data Another sample template

 Version Control Unique User Downloads Download Rankings  
 0%Total:961All time:3,545
 This week:0This week:1,093Up
User Ratings User Comments (1)  
 All time