• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Confusion between Model and controller

#1
[eluser]stormlead[/eluser]
Hi! all

i have a slight confusion between what do we have in model and what do we have in controller. I often think both have same things??

#2
[eluser]rogierb[/eluser]
1 sec. of google got me
- http://en.wikipedia.org/wiki/Model–view–controller
- http://java.sun.com/blueprints/patterns/...ailed.html
- http://c2.com/cgi-bin/wiki?ModelViewController

And a lot of other resources.

In short:
Model = data
Controller = logic
View = screen (Html, xml etc)

#3
[eluser]umefarooq[/eluser]
check it also

http://ellislab.com/forums/viewthread/134174/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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