19 Introduction to MVC and Ember

Model-View-Controller (MVC) is an extremely useful software design pattern. It works well in web applications, allowing you to build structure in separate layers. This chapter introduces the MVC pattern and walks you through installing and setting up Ember, a framework for MVC. The next few chapters focus on individual pieces of the pattern as you create a new application layer by layer.

There are many interpretations of MVC, especially in the front-end world. Figure 19.1 shows the interpretation we will use.

Figure 19.1  The Model-View-Controller pattern

The Model-View-Controller pattern

Here is a breakdown of what each ...

Get Front-End Web Development: The Big Nerd Ranch Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.