December 2013
Beginner to intermediate
286 pages
5h 46m
English
In this section, we'll look at the concept of the MVC design pattern. The MVC pattern is a concept that was introduced at Xerox PARC and has been around since the early days of Smalltalk. It is a high-level design pattern often used in GUI programming. We'll use it later in more detail, but a gentle introduction here will make the concept familiar to you when needed later.
The main idea behind MVC is to separate the model from the view. The view is simply the GUI, which interacts with the user of the program. The GUI will take care of the buttons clicked on and the data displayed on the screen. The model is the data to be used in the program. It can be, for example, financial data. It's often desirable ...
Read now
Unlock full access