Re: smarty
| From: | Peter Bowyer | Date: | Mon, 18 Mar 2002 08:09:02 +0000 |
| Subject: | Re: smarty | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5009@lists.php.net to get a copy of this message | ||
At 11:23 PM 3/17/02 +0100, Lukas Smith wrote:
Hi, do you know anything about the internals of smarty? After briefly taking a look, it seems to me their on demand works because they only have one function per plugin ...I thought that most of our database commands were only one function?
But I guess we could also just maintain an array of all functions that are in each plugin and then do a require_once when the function is needed ...Yes, keeping the most used functions in the original file and dynamically loading the less used ones.
I guess what Stig is offering is aggregate .. but that will only work for very recent versions of php ...Exactly. As an aside, does it come by default in PHP 4.1.2? Peter. -- Maple Design - quality web design and programming http://www.mapledesign.co.uk