What goes where? (MVC) |
[eluser]SomeFunkyDude[/eluser]
Hello, I just am a little confused as to what should go where, so far I'm reading that.... model - functions that work with/retrieve/update info from the database controller - functions that do calculations? or image resizing? store cookies, etc? and also loads appropriate views/css/javascript files view - presentational layout I noticed in one tutorial on making a CI app, Derek Allard used the model to slightly format database results into an unordered list, should mild/extensive data formatting be done in the model? Thanks. |
Messages In This Thread |
What goes where? (MVC) - by El Forum - 04-09-2009, 11:30 AM
What goes where? (MVC) - by El Forum - 04-09-2009, 11:40 AM
What goes where? (MVC) - by El Forum - 04-09-2009, 12:03 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 12:29 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 01:26 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 01:42 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 01:50 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 01:57 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 02:07 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 02:08 PM
What goes where? (MVC) - by El Forum - 04-09-2009, 03:59 PM
What goes where? (MVC) - by El Forum - 05-22-2009, 10:29 AM
|