Build amazing high-performance web applications using Backbone.js
This book offers insight into creating and maintaining dynamic Backbone.js web applications. It delves into the the fundamentals of Backbone.js and helps you achieve mastery of the Backbone library.
Starting with Models and Collections, you'll learn how to simplify client-side data management and easily transmit data to and from your server. Next, you'll learn to use Views and Routers to facilitate DOM manipulation and URL control so that your visitors can navigate your entire site without ever leaving the first HTML page. Finally, you'll learn how to combine those building blocks with other tools to achieve high-performance, testable, and maintainable web applications.
What You Will Learn
Architect a single-page web application using Backbone.js
Easily transmit data to and from a server-side API (RESTful or not) using Backbone's Models and Classes
Add and modify DOM elements with Backbone Views, and create browsable client-side pages with Routers
Document your Backbone.js logic, with or without popular tools such as JSDoc or Docco, to ensure long-term maintainability
Prevent bugs and ease refactoring by testing your code with frameworks such as QUnit, Mocha, or Buster and auxiliary tools such as Sinon
Use Backbone.js's sister library, Underscore, to realize the full power of a Backbone application
Explore advanced Backbone techniques and save time and effort by using the most powerful third-party tools available
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.