Developing Backbone.js Applications

Building Better JavaScript Applications

by Addy Osmani

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

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.

This open book is licensed under a Creative Commons License (CC BY-NC-ND). You can download Developing Backbone.js Applications ebook for free in PDF format (4.9 MB).

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
 

Book Details

Subject
Computer Science
Publisher
O'Reilly Media
Published
2013
Pages
346
Edition
1
Language
English
ISBN13 Digital
9781449328252
ISBN10 Digital
1449328253
PDF Size
4.9 MB
License
CC BY-NC-ND

Book Hashtags

Related Books

Learning Node.js
Node.js is an event-based, non-blocking, asynchronous I/O framework that uses Google's V8 JavaScript engine. It is used for developing applications that make heavy use of the ability to run JavaScript both on the client, as well as on server side and therefore benefit from the re-usability of code and the lack of context switching. It is open-sourc...
ember 101
Everything you wish you had known while learning to write Ember.js applications. If you are just getting started with Ember.js, this book is perfect for you. We'll work on a real world application (not a to-do list) that will allow you to learn Ember.js and its main features while using ember-cli. Introducing Ember-Data from the first example, y...
.NET Microservices
This guide is an introduction to developing microservices-based applications and managing them using containers. It discusses architectural design and implementation approaches using .NET Core and Docker containers. To make it easier to get started with containers and microservices, the guide focuses on a reference containerized and microservice-ba...
Platform Embedded Security Technology Revealed
Platform Embedded Security Technology Revealed is an in-depth introduction to Intel's platform embedded solution: the security and management engine. The engine is shipped inside most Intel platforms for servers, personal computers, tablets, and smartphones. The engine realizes advanced security and management functionalities and protects applicati...
Node.js Notes for Professionals
The Node.js Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....
Ray Tracing Gems
This book is a must-have for anyone serious about rendering in real time. With the announcement of new ray tracing APIs and hardware to support them, developers can easily create real-time applications with ray tracing as a core component. As ray tracing on the GPU becomes faster, it will play a more central role in real-time rendering. Ray Tracing...