- Mastering Web Application Development with Express
- Alexandru Vl?du?u
- 125字
- 2021-08-05 17:54:18
Connecting middleware
Middleware refers to reusable components that can be plugged into an Express application. Middleware consists of functions that handle HTTP requests, such as the one we would pass to Node's native http.createServer
function. A middleware component can add features by manipulating the request
and response
objects and then send the response to the client or pass control to the following middleware in the stack. There are a lot of middleware libraries that are compatible with Express, the most popular ones being those that were bundled with it but now live in separate modules (https://github.com/senchalabs/connect#middleware).
Web applications have to deal with a lot of things, such as managing cookies and sessions, handling file uploads, or serving static files. Middleware libraries can address these problems.
- R語言經典實例(原書第2版)
- Docker進階與實戰
- 編程卓越之道(卷3):軟件工程化
- React Native Cookbook
- Java從入門到精通(第4版)
- Mastering Python Scripting for System Administrators
- WSO2 Developer’s Guide
- Apache Spark 2 for Beginners
- Mastering AndEngine Game Development
- C++程序設計基礎教程
- Visual Basic程序設計實踐教程
- Access 2010中文版項目教程
- 零基礎學C語言第2版
- Maker基地嘉年華:玩轉樂動魔盒學Scratch
- Functional Python Programming