Lightweight template processing class in PHP: Smarty-light

Source: Internet
Author: User

Using Smarty to do the template processing class is currently the choice of most PHP sites, because it is powerful, and ADODB with very good, handled is handy. But whether it is smarty, or ADODB, because the function is powerful, class library numerous, so the speed is relatively slow, so ADODB first came out a ADODB lite version.

Detailed View: http://www.webjx.com/htmldata/2005-07-15/1121379294.html

So Smarty have a similar small version of it? The answer is: have

There is a program called Smarty-light, the current version is: 2.2.9, it is basically compatible with smarty all the syntax, learning is also very fast.

It's official website says:

* Smarty-light is a simple version of the Smarty, capable of backward, very fast.

* Smarty-light Most of the basic grammar is the same as Smarty, so if you have learned Smarty can be very easy to learn it.

* Smarty-light variable definition is very similar to PHP, even a beginner can quickly learn.

* Smarty-light introduced a number of new conversion tags and functions.

* Smarty-light compilation engine compiles the template very quickly, so the compiled file can be loaded quickly.

* Smarty-light also has caching capabilities, and can load static pages when accessed.

* Smarty-light also supports configuration files and variables.

(Don't mind the translation)

Original:http://www.paullockaby.com/projects/smarty-light/docs/what.is.php

Perhaps your application is not so complex, you can consider the application of Smarty-light this lightweight template engine.

Official website:http://www.paullockaby.com/projects/smarty-light/



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.