concept MVC in category javascript

This is an excerpt from Manning's book JavaScript Application Design: A Build First Approach.
The second part of the book—managing complexity and design—focuses on application quality. Here I give you an introduction to writing more modular JavaScript components by comparing the different options that are currently available. Asynchronous flows in JavaScript tend to grow in complexity and length, which is why I prepared a chapter where you’ll gain insight into writing cleaner asynchronous code while learning about different tools you can use to improve that code. Using Backbone as your gateway drug of choice, you’ll learn enough about MVC in JavaScript to get you started on the path to client-side MVC. I mentioned testable applications are important, and while modularity is a great first step in the right direction, testing merits a chapter of its own. The last chapter dissects a popular API design mentality denominated REST (Representational State Transfer), helping you design your own, as well as delving into application architecture on the server side, but always keeping an eye on the front end. We’ll begin our exploration of build processes after looking at one more crisis scenario Build First can avert by automating your process.
Like modularity, MVC improves software quality by separating concerns. In the case of MVC, this separation is split into three types of modules: Models, Views, and Controllers. These parts are interconnected to separate internal information representation (Models, what the developer understands) from the presentation layer (Views, what the user sees) from the logic that connects both representations of the same data (Controllers, which also help validate user data and decide what views to show them).
First I’ll tell you why jQuery doesn’t suffice in large scale application design, and then I’ll teach you about MVC in JavaScript through the Backbone.js library. The goal here isn’t for you to become a Backbone grandmaster, but rather to get you started in the wonderful world of modern JavaScript application structure design.