Re: Re: smarty
| From: | Chris de Vidal | Date: | Wed, 14 Apr 2004 15:38:32 +0000 |
| Subject: | Re: Re: smarty | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183330@lists.php.net to get a copy of this message | ||
Justin French said:
> You must remember, Smarty is just a layer over PHP. All the functions
> that you've listed exist in pure PHP code somewhere. It would
> relatively easy to code equivalent templates in PHP.
>
> Taking some random examples from your list:
<examples snipped>
I believe Smarty users would say "Yeah but the Smarty functions are
already written," which is when I'd use Smarty. There are countless
thousands of PHP libraries/classes that can also be added to save writing
functions from scratch.
My point is that the templating feature of Smarty is largely (but not
completely) redundant.
/dev/idal