Blog

CSS Architecture Compared: BEM, OOCSS, SMACSS, and ITCSS
Every stylesheet starts clean. A few hundred lines in, it's still manageable. A few thousand lines and three developers later, you're adding `!import
Continue Reading
Mongoose vs. Native MongoDB Driver: Which Should You Use?
If you're building a Node.js app on MongoDB, you'll hit this decision on day one: install mongodb, the official driver, or mongoose, the long-run
Continue Reading
MongoDB CRUD Operations Explained with Practical Examples
Almost everything an application does with a database boils down to four operations: create records, read them back, change them, and remove them. In
Continue Reading
Upserts in MongoDB: Insert or Update in a Single Operation
A lot of application code contains some version of this: look up a record, and if it exists, update it; if it doesn't, create it. It's two round trip
Continue Reading
CSS Performance Optimization: Selectors, Repaints, and Reflows
When people talk about CSS performance, they usually mean file size: how many kilobytes the browser has to download before it can paint. That matters
Continue Reading
Atlas Search: Adding Full-Text Search to Your App Without Elasticsearch
The traditional way to add good search to a MongoDB app goes like this: stand up an Elasticsearch or OpenSearch cluster, write a sync process that co
Continue Reading