Re: Smarty - an observation
| From: | Andrei Zmievski | Date: | Wed, 07 Feb 2001 15:08:19 +0000 |
| Subject: | Re: Smarty - an observation | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-74@lists.php.net to get a copy of this message | ||
On Wed, 07 Feb 2001, clayton collie wrote:
> one observation i made, though, on cursory examination of the code, is
> that the "compiler" code gets dragged in whether or not changes have been
> made to the template files. i suspect that when a site goes into production,
> templates would rarely change, if ever, so this seems to be unnecessary
> overhead.
You are correct, it is an unnecessary overhead. Even though it might
take PHP only <1sec to compile that code, it is not negligible. We will
probably make the compiler code dynamically loaded as needed - but we
are currently concentrating on finishing the caching features of Smarty.
> just a thought. i have a few more ideas on extensions to the template
> language which i'll share as i flesh them out further...
Great, looking forward to your ideas.
-Andrei
* I wish life had an UNDO function. *