RE: Smarty and speed
| From: | LIMBOURG Arnaud | Date: | Fri, 07 Dec 2001 08:05:27 +0000 |
| Subject: | RE: Smarty and speed | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2186@lists.php.net to get a copy of this message | ||
> Speed of compilation should NOT be an issue, IMHO. I can't see why
> templates would have to change that often in a production
> environment for it
> to be an issue.
I agree, if there are lots of changes there is a problem that is out of
smarty's scope ;)
> To be honest I've grown more and more disappointed with
> smarty. Too often I
> see very complicated work arounds to enable simple layout
> designs. Maybe
> I'm off base here but isn't the reason to use a template
> system to enable
> the designers to design without bothering the programmer? We
> can't expect
> designers to come up with complicated structures. Yes, *I*
> can write the
> structures, but I can't ask an HTML person to do so, and if
> *I* have to do
> it anyway, there's no need to use the template engine. It
> seems to me that
> the number of people posting to this list (and be inference,
> using smarty)
> are basically the script writers, since the features being
> asked for entail
> concepts that go beyond what the designer should be
> concerning himself with,
> yet simple features that would give great power and flexibility to the
> designer and WOULDN'T require them to have to grasp a difficult coding
> concept are unavailable.
Well, I use smarty and I am the only programmer so far. My choice of using
Smarty is that there may be other persons joining me and I'll be happy that
we have have the same templates. Our designers may even extend their
knowledge to web design, css, etc. ;)))) and i'll be even more happy.
Designers will have to learn a bit though. Doing nice layouts in HTML and
CSS requires a good deal of skills IMHO, so they'll have to learn a bit (i
am NOT starting another flame war ;)
With the new architecture Monte and Andrei are studying it would be easy to
implement a plugin that would simplify the designer's work. Of course it
could be an awfully complex plugin ;)
My .2 Euro cents !
> Just my $.02 American.
>
> -----Original Message-----
> From: Andrei Zmievski [mailto:andrei@ispi.net]
> Sent: Thursday, December 06, 2001 4:08 PM
> To: smarty@lists.ispi.net
> Subject: [smarty] Smarty and speed
>
>
> 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: rod@23net.net
> To unsubscribe send a blank email to
> $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
>
>
>
>
> ---
> You are currently subscribed to smarty as: arnaud.limbourg@cegetel.fr
> To unsubscribe send a blank email to
> $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/
>