Advanced Templating Idea

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Post by swirlee » 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

Who is online

Users browsing this forum: No registered users and 5 guests