[UPHPU] Template engines
Wade Preston Shearer
lists at wadeshearer.com
Wed Oct 4 16:22:23 MDT 2006
> I'd be interested to hear from any graphic artists out there what they
> see as the pros and cons of template engines in general, and Smarty in
> particular. Are these templates easier for an artist to work with
> than the equivalent PHP code?
First, define artist. If you really mean just an artist (someone who
designs but does not code), then it is irrelevant. If you mean a
front end developer, then yes, having the display separated from the
business (a tempting system) make development significantly easier.
Don't waste your resources on SMARTY though. Use PHP.
Or, if I have misunderstood and what you are really asking is if
SMARTY's syntax is easier than PHP, then the answer is no, it's
harder. SMARTY's syntax is stupid. Why implement another language and
layer into your system and server. If your front end developer has to
learn a language, teach him PHP. He doesn't have to know much more
than how to look and echo how vars, but why do it in something other
than PHP? That is what PHP was designed for.
-------------- 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/20061004/c2cff4e7/smime.bin
More information about the UPHPU
mailing list