Apress NBA

Pro Single Page Application Development

Using Backbone.js and ASP.NET

By Gil Fink , Ido Flatow

  • eBook Price: $34.99 $20.99
Buy eBook Buy Print Book
One of the most important and exciting trends in web development in recent years is the move towards single page applications, or SPAs. With Pro Single Page Application Development, you'll learn why SPA development is important, how SPAs work, and how to build one from end to end using the popular Backbone.js library and ASP.NET Web API.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-6673-0
  • 324 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: May 14, 2014
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Develop Microsoft HoloLens Apps Now
  • Windows 10 for the Internet of Things
  • Windows Group Policy Troubleshooting
  • ASP.NET MVC with Entity Framework and CSS
  • Pro ASP.NET Core MVC
  • .NET Development Using the Compiler API
Full Description

One of the most important and exciting trends in web development in recent years is the move towards single page applications, or SPAs. Instead of clicking through hyperlinks and waiting for each page to load, the user loads a site once and all the interactivity is handled fluidly by a rich JavaScript front end. If you come from a background in ASP.NET development, you’ll be used to handling most interactions on the server side. Pro Single Page Application Development will guide you through your transition to this powerful new application type.

The book starts in Part I by laying the groundwork for SPA development. You’ll master some JavaScript techniques that will come in useful later on, and get to know the building blocks of a single page application, including modules, routing and MV* frameworks.

In Part II, you’ll build the client for your application. This is where the magic happens, as the authors take you through the process step by step. Backbone.js is the ideal library for demonstrating SPA development in practice, but you can apply the same principles with other frameworks in your future applications. Part III takes you through the process of building the server side of your application using ASP.NET Web API, and hooking up the two parts of your application to create a working whole.

SPA development also comes with its own particular challenges, including tracking history, user interface performance, and how to handle search engine optimization. In the final chapters, the authors guide you through some of these issues and advanced techniques and finish by showing you how to deploy your application. As SPAs become the de facto standard of web application development, the in-depth Pro Single Page Application Development will be your one-stop shop for creating fluid, modern applications on the web.

What you’ll learn

  • Reasons to master single page application development
  • SPA architecture and key concepts
  • Mastering modular JavaScript development techniques
  • Meet the popular Backbone.js library and how to use it to build an SPA
  • Create a back end with ASP.NET Web API and consume it from your SPA
  • How to unit test and performance tune your application
  • Overcome the difficulties of search engine optimization in single page applications

Who this book is for

This book will suit professional web developers familiar with HTML and JavaScript. Readers will need experience with .NET and C# in order to follow along with Part III, which covers back end development with ASP.NET Web API.

Table of Contents

Table of Contents

Part I: The Road to Single Page Application Development

Chapter 1: Introducing Single Page Applications (SPAs)

Chapter 2: JavaScript for SPAs

Chapter 3: Modular JavaScript Development

Chapter 4: SPA Concepts and Architecture

Part II: Building the Front End

Chapter 5: Getting Started with Backbone.js

Chapter 6: Creating a Single Page Application Step by Step

Part III: Building the Back End

Chapter 7: Creating a Back-End Service with ASP.NET Web API

Chapter 8: Implementing HTTP with ASP.NET Web API

Chapter 9: Communication Between Front and Back End

Part IV: Advanced SPA Topics

Chapter 10: JavaScript Unit Testing

Chapter 11: SPA Performance Tuning

Chapter 12: Search Engine Optimization for SPAs

Chapter 13: Deploying Your SPA

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.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. PHP Objects, Patterns, and Practice


      View Book

    2. Beginning Android 3D Game Development


      View Book

    3. Troubleshooting Oracle Performance


      View Book

    4. Beginning Amazon Web Services with Node.js


      View Book