Model-View-Controller (cont.)
HTTP request arrives:
- Controller: Determine request’s session. If none, then create a new session.
- Controller to Model: If request specifies an action, then perform action on current session.
- Model: Determine which page to send back to requester.
- View: Displays current state of object.