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 9. Handling Web Requests with Express

Express is a powerful, unopinionated web application framework built on top of Node.js. It provides a highly pluggable interface and a few basic objects to handle the HTTP request response life cycle.

We have already begun working with Express, beginning our SPA with the Express generator. It's time to build things out further and learn more about the power of Express.

Express's true power comes from its minimal and unopinionated nature. It's highly flexible and extensible, making it a good tool for a number of web applications, single page, hybrid, even socket-based.

This chapter covers Express in more detail, starting with built-in objects. We will build out a number of routes, organizing the code of ...

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