Monday, August 10, 2009

MVC - Model/View/Controller


  • Model = data + state (handles storage/persistence)
  • View = what you see
  • Controller = handles interaction between model and view
When model changes, the controller notifies the view to have it update accordingly.
Controller receives events from views and then updates data in the model.

  • Controller has outlets the point to the views
  • Actions point from view back to the controller


No comments:

Post a Comment