O'Reilly logo

AdvancED ActionScript 3.0: Design Patterns by Ben Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The MVC: Model View Controller

Technical Overview

Intent: To provide users control over data as seen from multiple perspectives (see Figure 10-4).

Image

Figure 10-4. Class Diagram

Parts
  • Model
  • View
  • Controller
  • Client
Benefits
  • Increases cohesion of each aspect.
  • Localizes a logic domain that can be easily maintained.
  • Enables the Model's independence from the UI.
Drawbacks
  • The MVC is complex.
  • Compounded drawbacks among the patterns that it contains.
  • Changes among the interface of one component may affect another.
A Comprehensive Look

The Model View Controller, or MVC, is made up of three aspects, as the name suggests: the Model, the View, and the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required