Re: Smarty and speed
| From: | Monte Ohrt | Date: | Thu, 06 Dec 2001 21:27:23 +0000 |
| Subject: | Re: Smarty and speed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2170@lists.php.net to get a copy of this message | ||
I do want to move Smarty to a "plugin" type of architecture soon. As I
see it, I'm hoping that as more features and add-ons become available,
they won't affect the size or performance of Smarty. There would be some
sort of plugin repository that you drop the plugins into and they
automatically work. If you don't use a particular plugin, it is never
seen by Smarty.... they are loaded dynamically as they are mentioned in
the templates. With this architecture, we could easily support a plugin
contribution area and supply a core set of plugins with the
distribution. People can then snag plugins from the site that they find
useful. This would also slim down the current size of Smarty as most of
its functionality could be moved to plugins. Maybe even the
caching/debugging features could be dynamically loaded.
Monte
Andrei Zmievski wrote:
>
> Pursuant to the recent discussions, I'd like to pose the following
> questions. Do you feel that Smarty is too slow? Too bulky? Have you been
> able to isolate any specific area which seems slow? What would you
> propose as a possible solution? Rewriting certain parts of Smarty in C?
> Splitting it into more separate class files that are loaded as
> necessary? Any other comments on speed?
>
> -Andrei
> * Only 19,999 lines of C++ to my next ski trip... *
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/