Blitz templates The fastest php template engine _php Tutorial

Source: Internet
Author: User
Tags php template
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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.