Developing Backbone.js Applications



Download free course Developing Backbone.js Applications, pdf file on 346 pages by Addy Osmani.
If you want to build your site's frontend with the single-page application (SPA) model, this hands-on book shows you how to get the job done with Backbone.js. You'll learn how to create structured JavaScript applications, using Backbone's own flavor of model-view-controller (MVC) architecture.

Start with the basics of MVC, SPA, and Backbone, then get your hands dirty building sample applications - a simple Todo list app, a RESTful book library app, and a modular app with Backbone and RequireJS. Author Addy Osmani, an engineer for Google's Chrome team, also demonstrates advanced uses of the framework.

- Learn how Backbone.js brings MVC benefits to the client-side;
- Write code that can be easily read, structured, and extended;
- Work with the Backbone.Marionette and Thorax extension frameworks;
- Solve common problems you'll encounter when using Backbone.js;
- Organize your code into modules with AMD and RequireJS;
- Paginate data for your Collections with the Backbone.Paginator plugin;
- Bootstrap a new Backbone.js application with boilerplate code;
- Use Backbone with jQuery Mobile and resolve routing problems between the two;
- Unit-test your Backbone apps with Jasmine, QUnit, and SinonJS.

Table of contents

  • Introduction
  • Fundamentals
  • Backbone Basics
  • Exercise 1: Todos - Your First Backbone.js App
  • Exercise 2: Book Library - Your First RESTful Backbone.js App
  • Backbone Extensions
  • Common Problems & Solutions
  • Modular Development
  • Exercise 3: Your First Modular Backbone + RequireJS App
  • Paginating Backbone.js Requests & Collections
  • Backbone Boilerplate And Grunt-BBB
  • Backbone & jQuery Mobile
  • Unit Testing
  • Jasmine
  • QUnit
  • SinonJS
Pages346
Size4.9 MB
File typePDF
Downloads226
Created2022-02-02
LicenseCC BY-NC-ND
Author(s) Addy Osmani
Cover of Developing Backbone.js Applications

Download