From: "Hundiak, Arthur" <[EMAIL PROTECTED]>

> > 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.

Very true. I had forgotten about that one. It can be seen as a feature or a
disadvantage, depending upon the person, though. Any templating engine,
that's not PHP itself, is going to restrict what the designer can do to some
extent.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to