[nycphp-talk] Templating engines
Cliff Hirsch
cliff at pinestream.com
Wed Jan 23 15:56:26 EST 2008
On 1/23/08 3:44 PM, "John Campbell" <jcampbell1 at gmail.com> wrote:
> I just discovered smarty has default modifiers:
> http://www.smarty.net/manual/en/variable.default.modifiers.php
>
> It seems like a good idea. Does anyone use it?
Not a bad ideas as long as you can override it. I pass plenty of stuff
"upstream" that should not be escaped. But I like the default idea.
Smarty does have an override: {$var|smarty:nodefaults} to cover the
exceptions.
More information about the talk
mailing list