O'Reilly logo

Pro Node.js for Developers by Colin J. Ihrig

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 12

image

The Express Framework

In Chapter 10, you learned how to create low-level TCP applications using the net module. Then, in Chapter 11, the low-level details of TCP were abstracted away using the http module. The move to a higher level of abstraction allowed us to do more, while writing less code. Chapter 11 also introduced the concept of middleware via the Connect library. Middleware promotes code reuse and enables you to request processing in an assembly line fashion. However, creating complex applications using the http and connect modules can still be a bit tedious.

The Express framework, created by TJ Holowaychuk, provides another ...

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