Re: Template Proposal
| From: | Andrei Zmievski | Date: | Thu, 08 Nov 2001 19:31:36 +0000 |
| Subject: | Re: Template Proposal | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2677@lists.php.net to get a copy of this message | ||
On Thu, 08 Nov 2001, Alexander Wagner wrote:
> It is definately slower than hand-written PHP code, but still way
> faster than IT[X] and other non-compiling engines, and you can speed it
> up really well with the Zend Accelerator.
Yes. And maybe when I feel really masochistic, I'll sit down and see if
the compiled templates really can be more efficient.
> IMHO, Smarty is perfect if you only want to separate Code from Design
> and don't want to touch XSLT. It has a damn lot of nice features and is
> quite fast. Besides, it is well documented.
Monte is to blame for that. :)
> But if you want the templates to be edited by third-party designers,
> and I mean designers, not developers, you're usually better off with
> IT[X] or similar systems that don't place control structures in the
> templates. As long as you can live with the performance hit, anyway.
And with the lack of nice features, such as modifiers.
-Andrei
Give a man a fish; you have fed him for today. Teach a man to fish;
and you can sell him fishing equipment.
-Author unknown