Skip to content

Series

Posts meant to be read in order: each series goes from fundamentals to production around one theme, and remembers how far you got.

014 parts · 86 min read

Systems & architecture

AI engineering for web developers

From a streaming chat UI and RAG that answers correctly to MCP servers for agents and LLM app security — what a web developer needs to ship AI features to production.

0/4 read
  1. 1Building a Streaming AI Chat UI That Stays Smooth: SSE, ReadableStream, Incremental Markdown and a Stop Button
  2. 2RAG That Actually Answers Correctly: Chunking, Hybrid Search with pgvector, Reranking and Evaluation
  3. 3Model Context Protocol in Practice: Building a Production MCP Server in TypeScript
  4. +1 more part
View series
023 parts · 67 min read

Systems & architecture

NestJS in production

One NestJS modular monolith, from the request lifecycle and module boundaries, through background jobs that never lose work, to passkeys and sessions done right.

0/3 read
  1. 1NestJS in production: the request lifecycle, dependency injection and module boundaries that scale
  2. 2Reliable background jobs in NestJS with BullMQ: retries, idempotency and the transactional outbox
  3. 3NestJS Auth Done Right: Passkeys, Sessions vs JWT, and Refresh Token Rotation
View series
038 parts · 74 min read

Performance

Web performance from the ground up

Measure first with Core Web Vitals, then work through images, fonts, caching, bundles, React rendering and the event loop — each stop removes one reason pages are slow.

0/8 read
  1. 1Core Web Vitals: Understanding LCP, INP and CLS — and How to Fix Them
  2. 2Image Optimization End to End: Formats, srcset, Lazy Loading and next/image
  3. 3Web Fonts Done Right: Fast, Stable and Correct for Vietnamese
  4. +5 more parts
View series
045 parts · 46 min read

Frontend & UI

Modern CSS and the web platform

A mental model for layout, container queries and design tokens, then letting the Popover API, anchor positioning and native dialogs replace a lot of JavaScript.

0/5 read
  1. 1A Mental Model for CSS Layout: From Normal Flow to Flexbox and Grid
  2. 2Container Queries and Modern Responsive Design: Components That Know Their Own Width
  3. 3Design Tokens and Theming with CSS Custom Properties: From Raw Colors to Dark Mode
  4. +2 more parts
View series
055 parts · 30 min read

Systems & architecture

Frontend architecture that lasts

Treat the app as a system: state machines, an error-handling strategy, offline-first sync and feature flags — the decisions that keep a codebase healthy as it grows.

0/5 read
  1. 1Think in Systems, Not Screens
  2. 2State Machines for UI: Making Impossible States Impossible
  3. 3A Frontend Error-Handling Strategy: From Error Boundaries to Retries and Reporting
  4. +2 more parts
View series
064 parts · 21 min read

Learning & career

The engineering craft

Skills no framework teaches: taking notes, reviewing code, estimating honestly and what actually changes on the way from mid-level to senior.

0/4 read
  1. 1Writing Notes as an Engineer
  2. 2Code Review Is a Skill: How to Give It and How to Take It
  3. 3Estimating Frontend Work Honestly
  4. +1 more part
View series
077 parts · 129 min read

Frontend & UI

Frontend in depth

A correct mental model for React Server Components, server state with TanStack Query, type-level TypeScript, proper ARIA widgets, Web Workers, real-user observability and micro-frontends — the hard parts under the framework surface.

0/7 read
  1. 1A Correct Mental Model for React Server Components: Two Module Graphs, One Boundary
  2. 2Server State Is a Cache, Not State: TanStack Query v5 in Depth
  3. 3Type-Level TypeScript for API Contracts You Can't Misuse
  4. +4 more parts
View series
086 parts · 147 min read

Learning & career

Business analysis for product teams

Eliciting the real requirements, writing testable user stories and acceptance criteria, modeling processes with BPMN, Event Storming, PRDs with measurable non-functional requirements and product metrics in SQL.

0/6 read
  1. 1Requirements Elicitation for Engineers: A Business Analyst's Toolbox, from Interviews to Assumption Logs
  2. 2User Stories and Acceptance Criteria: Write Them So Developers Can Build and Testers Can Verify
  3. 3Business Process Modeling with BPMN 2.0: From As-Is Diagrams to Running Software
  4. +3 more parts
View series
099 parts · 168 min read

Systems & architecture

Web application security

Start with threat modeling, then work through XSS and CSP, CORS and cross-origin isolation, OAuth/OIDC, JWT, the OWASP API Top 10, SSRF and file uploads, secrets management and the npm supply chain — each layer of defense for a real app.

0/9 read
  1. 1Threat Modeling for Product Teams: STRIDE, Data Flow Diagrams and Trust Boundaries, from a 60-Minute Session to Tickets
  2. 2Practical Frontend Security: XSS in React, Nonce-Based CSP, Trusted Types, CSRF and Clickjacking
  3. 3CORS and cross-origin isolation in depth: origin vs site, preflights, credentials, CORP, COEP, COOP and Fetch Metadata
  4. +6 more parts
View series