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.
License: BSD License (revised)
Changes:
Infinite include loops checking was added and corresponding segfaults were fixed. Automatic path extension with the global variable "blitz.path" was fixed on Windows-like systems. Block() affects contexts hidden by IF/UNLESS contexts. getStruct() returns IF/UNLESS contexts correctly. The internal method unless() was added as an opposite to if().
More...