RE: [PHP] template engine...why???
| From: | luis | Date: | Wed, 30 Apr 2003 15:11:35 +0000 |
| Subject: | RE: [PHP] template engine...why??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145790@lists.php.net to get a copy of this message | ||
I absolutely agree, that's exactly why I can't understand the motivation
behind a dozen template systems for PHP when you can just use Smarty.
Compiling templates to PHP is a must-have for any serious template
engine.
-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@lerdorf.com]
Sent: Wednesday, April 30, 2003 12:05 PM
To: rush
Cc: php-general@lists.php.net
Subject: Re: [PHP] template engine...why???
> For closing, I can also agree that one can view a php as an
templateing
> system in it self but I see it as a different kind, or operating on
> different level, which does not necessary preclude usage or diminish
value
> of additional template systems that complement it.
The only templating systems I can honestly say are complementary are the
ones that pre-generate pages so there is absolutely no run-time hit from
the templating system. Anything that parses template files and by
whatever means does search and replace stuff at runtime is just
inherently
nasty if you care about performance at all.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php