DEV Community

Discussion on: Explain Middleware like I'm five

Collapse
 
alohci profile image
Nicholas Stimpson • Edited

You've been playing with your toys and they're scattered all over the room. Mummy tells you to put them all away in their toyboxes, but there's loads of them, so you ask daddy to help you. You pick up each toy and give it to daddy who collects them up, checks that they're still working, figures out which box they go in and puts them away. Daddy is your middleware.