Re: Template Proposal

From: Date: Thu, 08 Nov 2001 19:25:55 +0000
Subject: Re: Template Proposal
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2676@lists.php.net to get a copy of this message
Andrei Zmievski wrote: > > As far as I'm concerned it whips everything out there :) > > Thank you, Alex. :) Lately I've been seeing stuff like "it's too > complicated", That depends on your purposes. > "it missed its design goals", dito > and "it's too slow", so 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. > it's nice to read an encouraging email. Of course, I wonder if people > who say that really are aware of what Smarty's design goals were and > whether they are using it properly.. 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. 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. regards Wagner -- "Ein Mathematiker ist eine Maschine, die Kaffee in Theoreme verwandelt." Paul Erdös, Mathematiker, 1913-1996

« previous php.pear.dev (#2676) next »