More Information
Learn
  • Use Models to store individual records of data
  • Work with Collections to iterate over individual Models
  • Utilize templates to make markup creation a breeze
  • Present your data to your user through Views
  • Trigger Events in your views
  • Develop pretty URLs using the Routing class
  • Keep a well-structured code directory
  • Persist your data to a webserver
About

It’s easy to let a project get out of hand and become completely unmaintainable. However, this can be avoided by building a nicely-structured Backbone.js application. When working on a web application involving a lot of JavaScript, applications may end up as tangled piles of jQuery selectors and callbacks, all trying frantically to sync between the HTML UI, JavaScript logic, and the database on your server. With Backbone.js, you represent your data as models that can be created, validated, destroyed, and saved to the server.

Instant Backbone.js Application Development is a beginner-friendly book that will guide you through a step-by-step process to go from an empty project directory to a fully-functioning web application. The book also includes code samples that are easy to use and will guide you through the major features that Backbone.js has to offer.

Instant Backbone.js Application Development looks at the main types of objects that Backbone.js offers and has you instantiate specialized versions of each. These objects are stored in their own individual files and work together to build well-structured applications.

Your data will be stored using Collections and Models and presented to the user through Views and Templates. URLs will remain pretty and your browsing history will still work thanks to the Routing functionality. You will also learn how to build a JavaScript Single Page Application that communicates smoothly with your backend server using AJAX.

Features
  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Structure your web applications by providing models with key-value binding and custom events
  • Keep multiple clients and the server synchronized
  • Persist data in an intuitive and consistent manner
Page Count 64
Course Length 1 hours 55 minutes
ISBN 9781782165675
Date Of Publication 24 Jul 2013

Authors

Thomas Hunter II

Thomas Hunter II is a Jack of all trades with over eight years of open source web development experience. This includes backend PHP / Node.js programming, MySQL / MongoDB database engineering, and frontend programming with JavaScript. He’s even done plenty of graphic design, game development, and music composition.