O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

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 pattern

IGWEB's project codebase can be conceptualized as following the Model-View-Control (MVC) pattern. The MVC pattern is heavily used in the creation of web applications, and it is depicted in Figure 2.14:

Figure 2.14: The Model View Controller pattern

There are three primary components in a MVC-based application—the model, the view, and the controller. The primary purpose of models are to supply data and business rules to the application. Think of the models as the gatekeepers of the application's data needs. The models for IGWEB can be found in the shared/models folder.

Views are responsible for the output that the user sees. ...

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