Re: smarty

From: Date: Thu, 08 Apr 2004 14:45:57 +0000
Subject: Re: smarty
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182829@lists.php.net to get a copy of this message
From: "Hundiak, Arthur" <ahundiak@ingr.com> > > 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...

« previous php.general (#182829) next »