Blitztemplates: The fastest PHP template engine _ PHP Tutorial

Source: Internet
Author: User
Blitztemplates: The fastest PHP template engine. Brief introduction: Blitztemplates is a fast PHP template engine developed in C language. it serves as a PHP extension function. It started to replace as a php_templates, but has evolved to more introduction:
Blitz templates is a fast PHP template engine developed in C language. it serves as a PHP extension function. It started to replace as a php_templates but grew to more work. It is based on scalable template controllers (custom View classes in PHP) and simple logic. Benchmark tests show that this is the fastest PHP template engine, making Web applications closer to a smart MVC structure model, and separating HTML from your code at most. This is an Internet project designed for big and high load logic with many complex presentations.

Is the performance test result of several templates:

Sample template code:
Index.html
Index.html
Html code

The code is as follows:



{$ Title }}

{Include ('header. tpl ')}}
{List_news ()}}
{Include ('footer. tpl ')}}



Index. php

The code is as follows:


$ View = new Blitz('index.html ');
Function list_news (){
....
}
$ View-> parse ();
?>


: Http://sourceforge.net/projects/blitz-templates/files/

Blitz templates is a fast PHP template engine developed in C language. it serves as a PHP extension function. It starts to replace as a php_templates, but develops 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.