[UPHPU] Template engines
Wade Preston Shearer
lists at wadeshearer.com
Sun Oct 8 22:42:54 MDT 2006
> The only compelling argument I've found to use Smarty as the template
> language is that it's more limited, and therefore will help enforce
> the separation of display logic and other logic. I used Smarty for a
> couple of months, but like other people have said, it was just a big
> pain to have one more language, one more manual to look things up in,
> and it was also a pain to have to write my own Smarty plugins to
> implement display logic I couldn't do with Smarty alone. I've gone
> back to just using PHP for the templates.
If limiting use is a concern, simply pump it all through a class
where you control the scope of what the front end can and cannot call.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20061008/94de7ec2/smime.bin
More information about the UPHPU
mailing list