On Aug 3, 2007, at 8:31 PM, Wade Preston Shearer wrote:

php started its life as a template system. it has since evolved, for
better or worse, into a programming language. a template system should separate presentation from business logic. php doesn't. if you use php
as a template system there is no way to enforce this separation.
that's where a real template system (like Smarty) comes in.

I disagree. It's a piece of cake to enforce by running the data through a class.

I agree with Wade.

There are droves of PHP MVC frameworks that do not use Smarty but maintain the separation you're talking about.

-- John



_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to