Re: Template Proposal

From: Date: Thu, 08 Nov 2001 20:19:59 +0000
Subject: Re: Template Proposal
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2686@lists.php.net to get a copy of this message
On Thu, 8 Nov 2001, Alexander Wagner wrote: > 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. > Please explain to me why using IT[X] and then calling your template variables {VARIABLE} is any easier than {$VARIABLE}. Because you can do really simplistic stuff like that with Smarty just fine. Whats the deal here ? If you don't want to use the more complex options, like Smarty's control structures, don't use it. I'm really curious on knowing what is the difference here. I mean, besides Smarty being fricking faster than IT[X], that is. Joao -- João Prado Maia <jpm@phpbrasil.com> http://phpbrasil.com - php com um jeitinho brasileiro -- Precisando de consultoria em desenvolvimento para a Internet ? Impleo.net - http://impleo.net/?lang=br

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