Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

  • Book
  • © 2014

Pro Single Page Application Development

Using Backbone.js and ASP.NET

Apress

Authors:

  • 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.

Buying options

eBook
USD 39.99
Price excludes VAT (USA)
  • ISBN: 978-1-4302-6674-7
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD 49.99
Price excludes VAT (USA)

This is a preview of subscription content, access via your institution.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xxv
  2. The Road to Single Page Application Development

    1. Front Matter

      Pages 1-1
    2. Introducing Single Page Applications

      • Gil Fink, Ido Flatow
      Pages 3-13
    3. JavaScript for SPAs

      • Gil Fink, Ido Flatow
      Pages 15-34
    4. Modular JavaScript Development

      • Gil Fink, Ido Flatow
      Pages 35-48
    5. SPA Concepts and Architecture

      • Gil Fink, Ido Flatow
      Pages 49-66
  3. Building the Front End

    1. Front Matter

      Pages 67-67
    2. Getting Started with Backbone.js

      • Gil Fink, Ido Flatow
      Pages 69-98
    3. Creating a Single Page Application Step by Step

      • Gil Fink, Ido Flatow
      Pages 99-133
  4. Building the Back End

    1. Front Matter

      Pages 135-135
    2. Creating a Back-End Service with ASP.NET Web API

      • Gil Fink, Ido Flatow
      Pages 137-169
    3. Implementing HTTP Concepts with ASP.NET Web API

      • Gil Fink, Ido Flatow
      Pages 171-186
    4. Communication Between Front and Back End

      • Gil Fink, Ido Flatow
      Pages 187-204
  5. Advanced SPA Topics

    1. Front Matter

      Pages 205-205
    2. JavaScript Unit Testing

      • Gil Fink, Ido Flatow
      Pages 207-227
    3. SPA Performance Tuning

      • Gil Fink, Ido Flatow
      Pages 229-265
    4. Search Engine Optimization for SPAs

      • Gil Fink, Ido Flatow
      Pages 267-276
    5. SPA Deployment

      • Gil Fink, Ido Flatow
      Pages 277-287
  6. Back Matter

    Pages 1-7

About this book

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.

About the authors

Gil Fink is an expert in web development and Microsoft web and data platforms. He works as a senior consultant and architect at Sela Group. He is currently consulting for various enterprises and companies, where he helps to develop Web and RIA-based solutions. He conducts lectures and workshops for individuals and enterprises who want to specialize in infrastructure and web development. He is also a co-author of several Microsoft Official Courses and training kits and the founder of Front-End.IL meetup. You can read his publications at his blog: http://blogs.microsoft.co.il/blogs/gilf

Bibliographic Information

Buying options

eBook
USD 39.99
Price excludes VAT (USA)
  • ISBN: 978-1-4302-6674-7
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD 49.99
Price excludes VAT (USA)