Welcome Guest, Not a member yet? Register   Sign In
Confusion between Model and controller

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??

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)

check it also


Theme © iAndrew 2016 - Forum software by © MyBB