Welcome Guest, Not a member yet? Register   Sign In
controller vs view for loops
#4

[eluser]drewbee[/eluser]
Agreed. I would rather loop in the view... it tends to be a lot cleaner as well then rather building a string and passing it to it.

All HTML should be maintainable from the view. Doing it at the controller seems kind of backwards.


Messages In This Thread
controller vs view for loops - by El Forum - 11-06-2008, 12:36 PM
controller vs view for loops - by El Forum - 11-06-2008, 01:26 PM
controller vs view for loops - by El Forum - 11-06-2008, 02:06 PM
controller vs view for loops - by El Forum - 11-06-2008, 02:56 PM
controller vs view for loops - by El Forum - 11-06-2008, 04:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB