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/