The Codex

Thoughts on engineering, design systems, and the craft of building software.

Angular Signals: A Cleaner Way to Manage State
Frontend
calendar_todayMar 2025schedule6 min readvisibility1.8k views

Angular Signals: A Cleaner Way to Manage State

Angular's new Signals API fundamentally changes how we think about reactivity. Here's how I migrated a production app away from RxJS Subject chains — what broke, what improved, and why I won't go back.

AngularTypeScriptState Management
Read Postarrow_forward
PostgreSQL Indexing Strategies That Actually Helped
Backend
calendar_todayFeb 2025schedule8 min readvisibility3.2k views

PostgreSQL Indexing Strategies That Actually Helped

When a query fetching 200k rows started taking 4 seconds in production, I had to learn indexing properly. Partial indexes, composite indexes, EXPLAIN ANALYZE — a practical breakdown of what I changed and the results.

PostgreSQLPerformanceBackend
Read Postarrow_forward
Next.js App Router: What Changed in My Workflow
Full Stack
calendar_todayJan 2025schedule7 min readvisibility4.1k views

Next.js App Router: What Changed in My Workflow

Migrating from Pages Router to App Router wasn't just a folder rename. Server Components, nested layouts, and parallel routes completely changed how I architect frontends — here's my honest assessment after shipping a real project.

Next.jsReactArchitecture
Read Postarrow_forward
Error Handling in Node.js APIs the Right Way
Backend
calendar_todayDec 2024schedule5 min readvisibility2.6k views

Error Handling in Node.js APIs the Right Way

Most Node.js tutorials skip error handling entirely. Here's the pattern I use across all Hapi.js and Express projects — centralized error classes, async wrappers, structured logging, and why it matters at scale.

Node.jsExpressHapi.js
Read Postarrow_forward