Login   Register  
PHP Classes
elePHPant
Icontem

Booster Template: Compiled template engine

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (6 years ago) RSS 2.0 feedStarStarStar 51%Total: 948 All time: 3,481 This week: 1,391Up
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: 27
All time rank: 16349 in Hong Kong Hong Kong
Week rank: 787 Up4 in Hong Kong Hong Kong Up
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:948All time:3,481
 This week:0This week:1,391Up
User Ratings User Comments (1)  
 All time
Utility:75%StarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:1486