O'Reilly logo

Mastering JavaScript Single Page Application Development by John Moore, Philip Klauzinski

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 4. REST is Best – Interacting with the Server Side of Your App

The majority of development work involved in creating a JavaScript single page application is generally going to be on the frontend, but not to be overlooked is the all-important data-transfer layer of your application, which communicates with the server and the database. Representational State Transfer (REST) is the standard architectural style of data transfer between client and server for the World Wide Web and the Internet of Things (IoT). Any time you use a web application, chances are that REST is being used to communicate data and transitions of state from the UI.

The beauty of using the REST architectural style for a SPA is that the frontend of your application can be ...

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