PHP Classes

Booster Template: Compiled template engine

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 1,008 All time: 3,632 This week: 68Up
Version License PHP version Categories
booster 1.0.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
  Performance   Level  
Name: Chris Lam <contact>
Classes: 3 packages by
Country: Hong Kong Hong Kong
Age: 37
All time rank: 17548 in Hong Kong Hong Kong
Week rank: 180 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,008
This week:0
All time:3,632
This week:68Up
User Ratings User Comments (1)
 All time
Utility:78%StarStarStarStar
Consistency:89%StarStarStarStarStar
Documentation:-
Examples:64%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2041