Wade Preston Shearer wrote:
…and I agree with your point as well about simplicity. But, I would
still rather see the front-end guy using a PHP function instead of a
Smarty function. He could just as use use:
<? html_select_date($begDate, begDate, 2001, +1); ?>
…and yes, I think it wasteful for each developer to manually recreate
all of the necessary font-end functions for each project, but why didn't
the Smarty developers just create a class or an include file (or several
so that you only had to include the "sets" that you needed) with all of
the slick functions that you need instead of an entirely new engine,
syntax, and layer?
Sure, that's a reasonable complaint. I think we both see where the other
person is coming from at this point. For me what it all boils down to
is, I don't believe people should come on a list and say "oh, don't ever
use Tool X" without some REALLY good reasons, like a security hole or
horrible benchmarks or being made by Microsoft. :) Writing one's own
templating system or framework is not a valid option for many people.
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net