October 2013
Intermediate to advanced
416 pages
13h 2m
English
In this chapter
Connect is a framework that uses modular components called middleware to implement web application logic in a reusable manner. In Connect, a middleware component is a function that intercepts the request and response objects provided by the HTTP server, executes logic, and then either ends the response or passes it to the next middleware component. Connect “connects” the middleware together using what’s called the dispatcher.
Connect allows you to write your own middleware but also includes several common components ...