Blitz templates is a fast PHP template engine written in C and compiled as a PHP extension. It started as a php_templates replacement, but developed into much more. It is based on extensible template controllers (custom view classes in PHP) and weakly-active templates (simple logic in HTML). Benchmarks show that it is one of the fastest template engines for PHP, even though it's not trivial and makes Web application closer to a smart MVC-like architecture model with maximal separation of HTML from your code. It was designed for big high-load Internet projects with a lot of complex presentation logic.
| Tags | Internet Web Site Management Dynamic Content |
|---|---|
| Implementation | C PHP |
| Translations | English Russian |
Recent releases


Release Notes: Various fixes for expressions support in IF/ELSEIF/ELSE/UNLESS statements were made.


Release Notes: This release adds simple expressions support for IF/ELSEIF/UNLESS statements.


Release Notes: A segfault for tricky nested includes was fixed. Lowercasing for methods can be suppressed by a new variable: blitz.lower_case_method_names. A syntax error for empty arguments in conditions has been fixed. New docs were added into the package.


Release Notes: This version has completely new parser, analyzer, and executor and a lot of changes improving plug-ins, conditions support, error messages, and compilation issues.


Release Notes: The functions hasContext() and fetch() correctly find contexts masked by IF/UNLESS blocks. A possible double free crash for includes was fixed.