March 25th, 2024 × #middleware#nodejs#webdev
Middleware Explained
Explaining what middleware is and examples of how it's commonly used in web development for things like authentication, caching, error handling, etc.

Wes Bos Host

Scott Tolinski Host
Join Wes and Scott for a hasty episode of Syntax as they unpack the power of middleware for developers, covering caching, authentication, A/B testing, error handling, and user redirection in a quick, punchy rundown to supercharge your backend skills!
Show Notes
- 00:00 Welcome to Syntax!
- 00:41 Syntax on YouTube.
- 01:28 What is middleware?
- 05:04 Some real-world examples of middleware.
- 15:08 Where does it run?
- 18:07 What are the limitations?
- 21:52 Next.js middleware is one file only.
- NextJS Middleware
- 23:35 Sveltekit solution.
- Sveltekit Hooks
- 24:31 Connect style.
- Fastify Express
- Fastify Middle
- 25:28 One last thing, NPM Installing.
Hit us up on Socials!
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads