Welcome Guest, Not a member yet? Register   Sign In
How to transfer data between model & controller?
#5

[eluser]CroNiX[/eluser]
Think of the controller as the assembler. It gets all data and preforms all logic that it needs for the task. The model is usually strictly database calls, which you call from a controller, to get more needed data for use in that controller. After the controller "assembles" what it needs, it shoots it off the the view for display.


Messages In This Thread
How to transfer data between model & controller? - by El Forum - 03-19-2011, 03:59 AM
How to transfer data between model & controller? - by El Forum - 03-19-2011, 04:09 AM
How to transfer data between model & controller? - by El Forum - 03-19-2011, 04:34 AM
How to transfer data between model & controller? - by El Forum - 03-19-2011, 04:44 AM
How to transfer data between model & controller? - by El Forum - 03-19-2011, 10:45 AM
How to transfer data between model & controller? - by El Forum - 03-19-2011, 10:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB