03-19-2011, 10:45 AM
[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.
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.