Advanced Templating Idea

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Postby 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 (http://www.zend.com) or PHP Accelerator (http://www.php-accelerator.co.uk).

Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot], landi and 3 guests