Beginning Backbone.js

By James Sugrue

  • eBook Price: $31.99
  • Print Book Price: $44.99
Buy eBook Buy Print Book Add to Wishlist
Beginning Backbone.js is your step-by-step guide to mastering Backbone.js, taking you from downloading Backbone.js to architecting rich, stable, and robust JavaScript applications.

Full Description

  • ISBN13: 978-1-4302-6334-0
  • 304 Pages
  • User Level: Beginner to Advanced
  • Publication Date: December 22, 2013
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

Full Description

Beginning Backbone.js is your step-by-step guide to learning and using the Backbone.js library in your web projects. Backbone.js is one of the most popular JavaScript libraries among web developers, used to create modular, single-page web apps. This book takes you from downloading Backbone.js and its dependencies all the way to using more advanced libraries to structure your application architecture, and everything in between.

With a real-world, practical approach, you will learn how you can integrate Backbone.js into the center of your JavaScript stack, and create scalable applications. James Sugrue shows you how to implement all aspects of templating, work efficiently with RequireJS, and fully understand Grunt and all its plug-ins. Armed with this knowledge you'll be able to architect a continuous integration system that is key to real-world applications.

With the explosion of JavaScript-based applications on the web, the need for more structured approaches to code management is more important than ever. Backbone.js helps create applications that separate models from views, enabling developers to avoid spaghetti code. Beginning Backbone.js will gently guide you into this amazingly powerful library, and help you ramp up to building professional applications. Integrate Backbone.js into your work today with this indispensable book.

What you’ll learn

  • Learn the importance of MVC approaches in software development
  • Learn why Backbone.js is so popular and how to integrate it into your JavaScript stack
  • Understand core Backbone.js concepts such as models, views, routers, and events
  • Test your application using the latest JavaScript testing tools
  • Create build scripts using Grunt.js to simplify your build and deployment workflow
  • Use additional libraries to build on the power of Backbone.js
  • Avoid common beginner errors and code using best practices

Who this book is for

Beginning Backbone.js is for the web developer who is already confident with JavaScript, but who is keen to build larger, single-page web apps. If you want to introduce more structure, quality, and process to your web application using Backbone.js, and other leading JavaScript technologies, this is the book for you.

Table of Contents

Table of Contents

  1. Chapter 1: An Introduction To Backbone.js
  2. Chapter 2: Getting Object-Oriented
  3. Chapter 3: Backbone.js Model, View, and Collections
  4. Chapter 4: Templating with Underscore, Handlebars, and Mustache
  5. Chapter 5: Backbone.js Routers and Events
  6. Chapter 6: Backbone.js Start To Finish: Twitter App Example
  7. Chapter 7: The Backbone Ecosystem
  8. Chapter 8: Testing Your Backbone.js Application
  9. Chapter 9: Using Grunt for Your Build Process
  10. Chapter 10: Extending Backbone.js with Marionnette
  11. Chapter 11: Best Practices With Backbone.js
  12. Chapter 12: Creating A Manageable JavaScript Codebase

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


Please Login to submit errata.

On page 50-52:

Express server has method allowCrossDomain() added as middleware.

However, when attempting to try out the .save() method on p51 using the suggestions in the README file for Chapter 3, there is a CORS error. The same happens for the .destroy() method on p52.

It would be nice if there was an explanation in the book to explain why these errors occur or possibly a way to circumvent them by modifying the code. There is currently no indication in the text that these methods will not work as expected.


    1. $34.99

      View Details

    2. $41.99

      View Details

    3. $34.99

      View Details

    4. $34.99

      View Details

    5. $34.99

      View Details