Middleware

noun

say it: “MID-ul-wair” /ˈmɪdəlˌwɛr/

A step every request passes on its way to the endpoints, which either answers the request itself or passes it on.

What is middleware?

Middleware is a small step that sits between the web server and the endpoints. Every request passes the steps in order, and each one either answers the request itself (a sign-in check refusing a stranger) or passes it on to the next, and can act again on the way back out (a timer). It's the Chain of Responsibility pattern at work in every web framework.

In a sentence

  • “The sign-in check became middleware, so no endpoint can forget it.”

Level: Journeyman · More Software Development terms at this level

Updated

In other subjects