Re: template engine...why???
| From: | Robert Cummings | Date: | Wed, 30 Apr 2003 15:48:08 +0000 |
| Subject: | Re: template engine...why??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145800@lists.php.net to get a copy of this message | ||
*checks body signs* Nope, no allergic reaction, however, there are
things in the smarty engine I don't like, such as the extensive
mixing of content and logic. I must admit to never having actually
used Smarty since I have my own templating engine that also
compiles to PHP, and which does not mix content and logic like
Smarty -- so I guess I consider my own wheel also to be round,
perhaps providing a better ride, and it is this insight that makes
me think others can make even better engines -- as long as they
aren't scared off by people telling not to bother.
luis wrote:
>
> Your inference is right, in my very modest opinion template engines that
> parse templates at run-time are not usable.
> I don't know if there're other template engines that compile templates
> into PHP code so Smarty may or may not be the only one.
> If this thread is about templating engines then it is also about Smarty
> and many others... Do you suffer some alergic reaction to Smarty? :-)
>
> -----Original Message-----
> From: suds@wocmud.org [mailto:suds@wocmud.org] On Behalf Of Robert
> Cummings
> Sent: Wednesday, April 30, 2003 12:30 PM
> To: luis
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] template engine...why???
>
> By your logic, since you ruled out all other templating systems, then
> with this most recent post you have made an assertion that Smarty is the
> only round wheel. I'm sure many would disagree. At any rate, time for me
> to drop this particular thread branch since the thread is about
> templating engines and NOT Smarty.
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'