Middleware Explained
Syntax Syntax
353K subscribers
2,592 views
0

 Published On Mar 25, 2024

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.
05:10 Authentication.
07:44 Redirecting users to a specific instance.
08:28 Logging + statistics.
09:41 Debugging.
10:00 Timers.
10:46 A/B testing.
11:59 Error handling + logging.
12:23 Caching.
13:02 Multi-tenant applications.
15:08 Where does it run?
18:07 What are the limitations?
21:52 Next.js middleware is one file only.
23:35 Sveltekit solution.
24:31 Connect style.
25:28 One last thing, NPM Installing.

All links available at https://syntax.fm/747

------------------------------------------------------------------------------
Hit us up on Socials!

Scott:   / stolinski  
Wes:   / wesbos  
Randy:    / @randyrektor  
Syntax:   / syntaxfm  

http://www.syntax.fm

Brought to you by Sentry.io

#webdevelopment #webdeveloper #javascript

show more

Share/Embed