If you’re looking to use the single-page application model to build your site’s frontend, Backbone.js is an ideal framework for the job. This practical guide provides all the information you need to create structured JavaScript applications using Backbone.js and its unique flavor of the model-view-controller (MVC) architecture.
You’ll start with the essentials of Backbone’s models, views, collections, and routers, and then dive into methods for building RESTful applications with modern technology stacks. Author Addy Osmani also demonstrates advanced uses of the framework, as well as ways to conduct unit tests.
- Learn MVC fundamentals to help you understand the framework
- Build Backbone apps with Node.js, Express, Mongoose, and MongoDB
- Create applications with the Ruby, Sinatra, Haml, and MongoDB stack
- Cleanly wrap units of application code into manageable modules
- Decouple Backbone with the Mediator and Facade patterns
- Resolve routing problems between Backbone and jQuery Mobile
- Unit test Backbone apps with Jasmine or QUnit and SinonJS