AW: Re: Smarty and speed
| From: | Werner Schweizer | Date: | Fri, 07 Dec 2001 22:22:30 +0000 |
| Subject: | AW: Re: Smarty and speed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2209@lists.php.net to get a copy of this message | ||
No, please don't code anything in C.
I'm not against C as a language, I'm a professional C programmer.
But to produce a web site, I'm depending on a provider.
I don't have the joice of platform (Windows, Unix, ...).
And I would almost certainly not be allowed to install a compiled binary
on the web-server.
Werner Schweizer
> -----Ursprungliche Nachricht-----
> Von: Andrei Zmievski [mailto:andrei@ispi.net]
> Gesendet: Donnerstag, 6. Dezember 2001 22:35
> An: smarty@lists.ispi.net
> Cc: smarty@lists.ispi.net
> Betreff: [smarty] Re: Smarty and speed
>
>
> On Thu, 06 Dec 2001, Monte Ohrt wrote:
> > 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.
>
> Sure. But cutting out debugging functionality and read/write cache
> functions reduces the size of main Smarty class by 200 lines or so. For
> next major version we should probably think about an approach that
> involves a really small "driver" class that handle displaying cached
> files and load additional functionality as necessary. For speed, that
> class could even be written in C.
>
> -Andrei
>
> Commitment, n.:
> Commitment can be illustrated by a breakfast of ham and eggs. The chicken
> was involved, the pig was committed.
>
> ---
> You are currently subscribed to smarty as: W.Schweizer@SwissOnline.ch
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
>