PHPBuilder - Siviglia PHP Template System

RSS Twitter

Siviglia PHP Template System

by: Jose Maria Rodriguez Millan
December 31, 2012

Type: Class

Category: algorithms

License: BSD License


Siviglia Templates is a PHP templating system that offers a semantic description of UIs, reusable template components, simple and intuitive syntax, and PHP code generation. It works by taking template strings -- which are PHP scripts -- and parsing them using the PHP tokenizer extension to figure out the blocks and sections of the template.


Siviglia Templates supports several types of tags, which it converts into PHP code and merges with the template PHP code. It executes the resulting code to generate the template output.


Sample website template:












Comment and Contribute

Your comment has been submitted and is pending approval.

Jose Maria Rodriguez Millan



(Maximum characters: 1200). You have characters left.