Welcome Guest, Not a member yet? Register   Sign In
Views and PHP Code
#8

[eluser]plainas[/eluser]
That is _not_ more complicated than I need. Most of the times I need strict separation between business logic and presentation logic. I guess the answer to your question is:

"For code tidyness' sake."

If you think about it, that is the main porpuse of MVC design.

If you want to redesign the looks of a site, I don't think having loops and whatnot in the views is very friendly. Suposely they should be possible to edit by a person with zero PHP knowledge.


Messages In This Thread
Views and PHP Code - by El Forum - 02-01-2009, 12:25 PM
Views and PHP Code - by El Forum - 02-01-2009, 01:03 PM
Views and PHP Code - by El Forum - 02-01-2009, 01:54 PM
Views and PHP Code - by El Forum - 02-01-2009, 01:57 PM
Views and PHP Code - by El Forum - 02-01-2009, 02:11 PM
Views and PHP Code - by El Forum - 02-01-2009, 07:36 PM
Views and PHP Code - by El Forum - 02-01-2009, 07:48 PM
Views and PHP Code - by El Forum - 02-01-2009, 08:49 PM
Views and PHP Code - by El Forum - 02-01-2009, 09:00 PM
Views and PHP Code - by El Forum - 02-01-2009, 10:15 PM
Views and PHP Code - by El Forum - 02-01-2009, 10:32 PM
Views and PHP Code - by El Forum - 02-01-2009, 11:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB