O'Reilly logo

Pro Single Page Application Development: Using Backbone.js and ASP.NET by Ido Flatow, Gil Fink

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9

image

Communication Between Front and Back End

In the last two chapters, you learned how to create a back-end application programming interface (API) by using ASP.NET Web API. Once you have a fully operational back end, you will probably want to create the front-end-to-back-end integration, in order to achieve a robust solution. In single page application (SPA) development, the integration between the front end and the back end is particularly crucial.

In most of the solutions, you will use Ajax as your main communication option. Most of the MV* frameworks/libraries include modules to handle Ajax requests, which can simplify the integration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required