RE: [PHP] smarty
| From: | Hundiak, Arthur | Date: | Thu, 08 Apr 2004 14:28:03 +0000 |
| Subject: | RE: [PHP] smarty | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182828@lists.php.net to get a copy of this message | ||
> From: John W. Holmes
>Smarty has two benefits to using a PHP templating solution (imo)
>1. Smarty forces you to keep the presentation layer separate from your
>code/business layer.
>2. Caching
IMHO, a critical reason for choosing a template language over PHP is
security. Do you really want to give your template designers complete
access to your databases? Especially if customers have the ability to
modify the templates themselves.
I personally feel Smarty is too powerful but fortunately there are dozens of
php template systems out there.