MVC: models interacts with the view?

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-04-27T04:14:28Z Indexed on 2010/04/27 4:23 UTC
Read the original article Hit count: 425

Filed under:
|
|

i know that everything is going through the controller.

but i often read articles that says something like this:

  1. user interacts with the view
  2. controller asks the model to change its state
  3. model notifies the view when its sate has changed

i dont get the 3rd one. why saying that the model notifies the view, when it actually is notifying the controller and the controller is notifying the view?

© Stack Overflow or respective owner

Related posts about mvc

Related posts about php