CHAPTER 4

image

SPA Concepts and Architecture

In Chapter 1 we discussed the main events that led to today’s JavaScript single-page application (SPA) development. We also introduced the main building blocks of SPAs and talked a little about them. In this chapter we will drill down into these building blocks and explain them in more detail. You will get to know the difference between MVC (Model/View/Controller) and MVVM (Model/View/ViewModel), the main communication tools that you use in SPAs, the main HTML5 features that are useful in SPAs, and a little about representational state transfer (REST). Later on we will discuss SPA architecture considerations, ...

Get Pro Single Page Application Development: Using Backbone.js and ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.