One of the unique aspects about Smarty is the template compling. This means Smarty reads the template files and creates PHP scripts from them. Once they are created, they are executed from then on. Therefore there is no costly template file parsing for each request, and each template can take full advantage of PHP compiler cache solutions such as Zend Accelerator (http://www.zend.com) or PHP Accelerator (http://www.php-accelerator.co.uk).
Ask about general coding issues or problems here.
1 post • Page 1 of 1
- Posts: 2272
- Joined: Sat Jul 05, 2003 1:18 pm
- Location: A bunk in the back
It's not my intention to burst your bubble, but I believe that Smarty does something just like this. To quote their What is Smarty? page:
Who is online
Users browsing this forum: Baidu [Spider] and 2 guests