O'Reilly logo

HTML5 iPhone Web Application Development by Alvin Crespo

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

Introduction to Backbone.js

To add structure to our one-page application, we will be using Backbone.js, a light framework that helps us apply the MVC design pattern. Backbone.js is one of the many MVC-type frameworks that help frontend development stick to best practices of separating out the data from the views or in particular, the DOM. On top of that, our applications can become quite complex for one-page apps. Backbone.js helps alleviate these issues and gets us going quickly. So let's start with discussing how MVC applies to this framework.

MVC and Backbone.js

There are many types of JavaScript frameworks that apply MVC differently, it is no different for Backbone. Backbone implements Models, Views, Collections, and Routers; it also includes ...

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