Skip to Main Content
Single Page Web Applications
book

Single Page Web Applications

by Michael Mikowski, Josh Powell
September 2013
Intermediate to advanced content levelIntermediate to advanced
432 pages
12h 10m
English
Manning Publications
Content preview from Single Page Web Applications

Chapter 7. The web server

This chapter covers
  • 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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering JavaScript Single Page Application Development

Mastering JavaScript Single Page Application Development

Philip Klauzinski, John Moore

Publisher Resources

ISBN: 9781617290756Publisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link