Data & Databases
Where everything your app knows lives.
Model data properly, write real SQL, design schemas that don't rot, index for speed, use transactions to stay correct, and migrate without losing a byte. The layer every serious app stands on.
Lessons
- โ
Data Modeling: Think Before You Store
Think before you store: model entities and relationships so your data makes sense.
- โ
Relational Databases & SQL
Tables, rows, and SQL โ the language you use to ask your data questions.
- โ
SQL, Deeper
JOINs, aggregations, GROUP BY, and subqueries โ SQL that answers real questions.
- โ
Normalization & Schema Design
Design schemas that don't rot: avoid duplication, anomalies, and regret.
- โ
Indexes & Query Performance
Why your app gets slow โ indexes, query plans, and the infamous N+1 problem.
- โ
Transactions, Consistency & Race Conditions
All-or-nothing operations, ACID, and the race conditions that corrupt data.
- โ
Migrations: Evolving a Schema Safely
Evolve a live schema without losing data, using versioned migrations.
- โ
Relationships in Practice
One-to-many, many-to-many, foreign keys โ wiring entities together correctly.
- โ
NoSQL & When to Use It
Document and key-value stores: what they're good at, and when SQL still wins.
- โ
Caching & Cache Invalidation
Make reads fast with caching โ and survive the hardest problem: invalidation.
- โ
Search: When LIKE Isn't Enough
When LIKE isn't enough: real full-text search that finds what users actually mean.
- โ
Backups, Restores & Data Safety
Backups, restores, and the day your database is the only thing that matters.
- โ
Capstone: Design & Build a Real Data Layer
Design and build a real data layer: schema, migrations, indexes, seed, and a tuned query.
๐๏ธ Build It Right, Or Don't Build It At All.