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: This release fixes a parsing error with comments enabled and long custom comment tags.


Release Notes: A parsing error was fixed (an incorrect code fragment broke the next correct one). Array-to-string conversion for variables doesn't add "Array" string to the output and shows a human-readable warning. After several weeks of testing 0.7.2+patches in production, it was named 0.8.1 and marked stable.


Release Notes: A critical parsing error was fixed: occasionally tags with useless spaces inside could be skipped. Error handling was also improved: the method getError() was added, the method load() was fixed to return false on errors, and exceptions are thrown optionally when blitz.throw_exceptions is set to 1 (0 by default).


Release Notes: This is the first release with HTML output escaping. Auto-escaping is enabled with a new blitz.auto_escape constant (off by default). Basic filters support was added through {{ $var | filter }} syntax. Only "raw" and "escape" filters are supported, and only for variables. The blitz.charset constant was removed; the engine should use default PHP settings. Please note that the internal HTML extension was improved in 5.4.0 and some escaping features don't work in prior versions, such as disallowed Unicode characters.


Release Notes: This release improves performance and fixes PHP-5.4.* compilation issues.
A complete IPsec and IKEv2/IKEv1 implementation for Linux 2.4 and 2.6 kernels.