Chapter 7. The web server
- The role of the web server when supporting an SPA
- Using JavaScript as the web server language with Node.js
- Using Connect middleware
- Using the Express framework
- Configuring Express to support an SPA architecture
- Routing and CRUD
- Messaging using Socket.IO and why we care
This chapter discusses the logic and code a server needs to support an SPA. It also provides a good introduction to Node.js. If after reading this chapter you’re really excited and want to build out a fully production-ready application using Node.js, we suggest checking out the book Node.js in Action (Manning 2013).
7.1. The role of the server
An SPA moves much of the business logic found on the server in ...
Get Single Page Web Applications 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.