|Classes of wim niemans
|Sirenade PHP Template Compiler
SIRENADE is a base PHP library that compiles the template text into native PHP and caches the compiled output. It is using the package SIREN for basic functions.
SIRENADE allows for embedding native PHP in the template text and features a nice set of logic directives:
Like SIREN, it features recursion in an intuitive way and extends SIREN's usage with
SIRENADE has all logic expansions and their syntax externally defined as anonymous functions, and allows for simple custom adjustments, or even complete customised additions. See the directory './logic'.
SIRENADE can cache files and blocks on demand, leaving the SIREN recursion for run time expansion. SIRENADE comes with an extensive set of configurable options.
SIRENADE is very fast, not depending on the number of markers, nor the volume of logic.