Welcome Guest, Not a member yet? Register   Sign In
Generating a menu..
#6

[eluser]Johan André[/eluser]
Hmm... I'm seeing alot of people adding html in the controller / library. Is that really good MVC-practice? Why not use an array send it to the view along with all the data and let the view handle it (with some simple looping/conditions). What if you need to change the presentation? Maybe want an un-ordered list or a definition-list or whatever.

I'm not saying you made it wrong, but to me it seems that the coolness of MVC is keeping stuff in different, pre-defined places.


Messages In This Thread
Generating a menu.. - by El Forum - 01-17-2008, 08:59 PM
Generating a menu.. - by El Forum - 01-17-2008, 09:09 PM
Generating a menu.. - by El Forum - 01-17-2008, 10:39 PM
Generating a menu.. - by El Forum - 01-17-2008, 11:26 PM
Generating a menu.. - by El Forum - 01-17-2008, 11:46 PM
Generating a menu.. - by El Forum - 03-04-2009, 01:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB