Brief introduction:
Blitz templates is a fast PHP template engine developed in C language, which is an extension of PHP functionality. It started as a php_templates replacement, but developed to more work. It is based on extensible template controller (custom view class in PHP) and simple logic. Benchmark tests show that this is the fastest php template engine, so that the Web application is closer to a smart MVC architecture model, separating the HTML from your code as much as possible. This is an Internet project designed for high-load logic with many complex presentations.
Is the performance test result for several templates:
Sample template code:
Index.html
Index.html
HTML code
Copy the Code code as follows:
{{$title}}
{{include (' Header.tpl ')}}
{{list_news ()}}
{{include (' Footer.tpl ')}}
index.php
Copy the Code code as follows:
$view = new Blitz (' index.html ');
function List_news () {
....
}
$view, Parse ();
?>
Download Address: http://sourceforge.net/projects/blitz-templates/files/
http://www.bkjia.com/PHPjc/321622.html www.bkjia.com true http://www.bkjia.com/PHPjc/321622.html techarticle Introduction: Blitz templates is a fast PHP template engine developed in C language, it is a php extension function. It started as a php_templates replacement, but developed to more ...