Express.js Middleware Patterns You Should Know
Express.js

Express.js Middleware Patterns You Should Know

Middleware is how Express works. Not just a feature of it -- it is the whole thing. This is the talk I give to every new hire: the five middleware types, execution order, why next() trips everyone up, async error handling, and the patterns we actually use in production.

11 min read 3,621 views
#express #middleware #error-handling #nodejs
Continue Reading →
JavaScript Promises: From Beginner to Advanced
JavaScript

JavaScript Promises: From Beginner to Advanced

I used to hate Promises. Callbacks felt intuitive and Promises felt like ceremony. Then I actually learned how they work -- the constructor, chaining, combinators, the microtask queue -- and I stopped fighting them. Here's everything I figured out the hard way.

12 min read 3,928 views
#promises #async #javascript #error-handling
Continue Reading →