• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.