-
Book Overview & Buying
-
Table Of Contents
F# for Quantitative Finance
By :
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 to separate the code for the model (data) and the view (GUI).
The MVC pattern described in the preceding figure is a modified version of the traditional MVC pattern. The main difference is that there is no direct communication between the view...
Change the font size
Change margin width
Change background colour