| Recommend this page to a friend! |
| All class groups | > | All authors | > | Packages of Jose Maria Rodriguez Millan (2) | > | Mission progress status | > | Reputation |
|
||||||||||||||||||||||||||||||
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
| This package implements a template engine that uses PHP as template language. It takes template strings which are PHP scripts, and parse them using the PHP tokenizer extension to figure the blocks and sections of the template. The template engine supports several types of tags which are converted into PHP code and merged with the template PHP code. The resulting code is executed to generate the template output. |
| ||||
| This package template engine with configurable grammar. It provides several classes that can parse templates using a configurable grammar that includes the definition of any number of template place holder elements based on regular expressions defined for each element. Templates may include widgets defined by other templates, iterate over an array of parameters to repeat the output of a section, and use plug-ins to implement custom template place holder behavior. The template engine can generate PHP code that can be cached in files to avoid recompilation overhead. |
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |