[UPHPU] Pastebin.org,
Would Anybody like to help me create a pastebin?
John David Anderson
uphpu at johndavidanderson.net
Fri Aug 3 20:38:06 MDT 2007
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
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
More information about the UPHPU
mailing list