Blog

Flexbox Deep Dive: flex-grow, flex-shrink, and flex-basis
Most developers learn flexbox by copying flex: 1 onto a few elements and watching them share space. That works until it doesn't. Two items with `fl
Continue Reading
The CSS gap Property: Spacing Made Simple in Flexbox and Grid
Spacing items evenly sounds like the simplest thing in CSS, yet for a long time it was surprisingly awkward. Put a margin on every item and you get u
Continue Reading
Using $lookup to Join Collections in MongoDB
"MongoDB doesn't do joins" is one of those things people say that stopped being true a long time ago. Good document design reduces how often you need
Continue ReadingTracking Document History and Versioning Changes in MongoDB
When you run updateOne in MongoDB, the previous value is gone. That's fine for a page view counter, but it's a real problem for a contract, a produ
Continue Reading
CSS calc(): Doing Math in Your Stylesheets
For years, one of the most common frustrations in CSS was simple arithmetic. You wanted a sidebar that was "the full width minus 300 pixels," or a co
Continue Reading
MongoDB Atlas vs. Self-Hosted MongoDB: Cost, Control, and Trade-Offs
Sooner or later, every team running MongoDB has the same conversation. Someone looks at the Atlas invoice, compares it to the price of a few virtual
Continue Reading