Re: Play nice! Re: Savant/Flexy/Foo template engines
| From: | Justin Patrin | Date: | Thu, 10 Jun 2004 01:04:40 +0000 |
| Subject: | Re: Play nice! Re: Savant/Flexy/Foo template engines | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30355@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
Slight correction :)Well, I'm very sorry for posting mis-information, then. So all this belly-aching is about INSTALLING Compiler.php?? Why do you care that one more file is installed, it doesn't affect runtime and really, who doesn't have a few extra K lying around. /me shakes his head. Anyway, breaking it up into two seperate pieces as Template and Template_Flexy makes complete sense to me. Of course, this means that everyone would have to like it and actually *do* it.There is still a difference and that is the (possible) loading of the compiling engine. From what I have gleaned from the lists (correct me if I'm wrong), the compiler is still included if there is no compiling.The Compiler is only included if the timestamps on the source and target are different (Eg. when you change the template). - With 'raw' templates, the code doesnt even get that far.., it just concludes the source and target are the same...
-- paperCrane <Justin Patrin>This is a large bit of code and can slow down a page request.Hell the compiler eats CPU's alive if you use it ;) Regards Alan