RE: Smarty and speed
| From: | Monte Ohrt | Date: | Thu, 06 Dec 2001 23:26:35 +0000 |
| Subject: | RE: Smarty and speed | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2183@lists.php.net to get a copy of this message | ||
Rod K wrote:
>
> 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.
>
> 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.
>
> Just my $.02 American.
I'd like to know specifically what complicated workarounds you are
referring to. Of course the idea is that designers should be as self
sufficient as possible. But another strong point is that layout logic
_must_ be separate from business logic. Sometimes the programmers have
to help out, such as complicated section loops. Realistically, how do
you get around that? Water down the syntax thus decreasing flexibility?
Move layout logic back into the application logic? (go ahead, I won't do
it ;-) You have to work together to a certain degree, and there are
tradeoffs at just about any point. If you have some ideas that would
help ease your disappointment, I'd like to hear them.
>
> -----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: 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/