Advanced Templating Idea

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Fri Nov 28, 2003 11:43 am

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:

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 ( or PHP Accelerator (

Post Reply