May 2001
Intermediate to advanced
1088 pages
30h 13m
English
The Model-View-Controller (MVC) paradigm is a way to partition your user interface so it's easier to write and maintain. The idea is that you start with a model—a set of classes representing the data you're working with. Next, you construct various views of the data—classes that display the data on the screen. Finally, you create a controller object that accepts user input and updates the model or view.
Figure 42.1 illustrates the idea behind MVC.

If you have ever written GUI programs before, you know how convoluted ...
Read now
Unlock full access