Sv: Re: Sv: Smarty and speed
| From: | anders dot janson at mailbox dot swipnet dot se | Date: | Thu, 06 Dec 2001 22:40:47 +0000 |
| Subject: | Sv: Re: Sv: Smarty and speed | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2178@lists.php.net to get a copy of this message | ||
>
> Från: Andrei Zmievski <andrei@ispi.net>
> > But perhaps that could become a "Smarty Pro" version, or something :-)
>
> Yeah, a commercial version. <sarcasm off>
Eeeewwww ;-)
>
> > One other thing that could be useful: include more than one compiler
> > class in the distribution. For example :one compiler that generates
> > fastest possible {section}s, no bells and whistles, and one that
> > includes the kitchen sink :-)
> > This would cause a documentation nightmare, of course ;-)
>
> And who would choose what compiler gets used, the programmer or the
> person writing the templates? Let's not forget that they are not one and
> the same oftentimes.
If they use several templates and several Smarty objects/compilers, then they could even use the one
they find most suitable for each template. There must be *some* communication, even between
programmers and designers.
Or perhaps the designer could put some "compiler preference tag" in the template? Slowing
it down at the compiling stage, but leaves the option to get better runtime performance.
/Anders
-------------------------------------------------
WebMail från Tele2 http://www.tele2.se
-------------------------------------------------