Chapter 8. Express

This chapter covers

  • Starting a new Express application
  • Configuring your application
  • Creating Express views
  • Handling file uploads and downloads

Things are about to get even more fun. The Express web framework (http://expressjs.com) is built on top of Connect, providing tools and structure that make writing web applications easier, faster, and more fun. Express offers a unified view system that lets you use nearly any template engine you want, plus simple utilities for responding with various data formats, transferring files, routing URLs, and more.

In comparison to application frameworks such as Django or Ruby on Rails, Express is extremely small. The philosophy behind Express is that applications vary greatly in their ...

Get Node.js in Action 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.