Articles

Short explainers, each on one idea. Pick a tag to see only its articles.

Level: intermediate

10 of 66 articles

  • Module 9: Domain Events and the Outbox

    Record a domain event in the aggregate, save it in an outbox with the sale, relay it into the job queue, and make every handler safe to repeat.

    Module
  • Data Structures and Algorithms, Pattern by Pattern

    A twelve-module course on the patterns behind most algorithm problems, from Big O to dynamic programming, measured in TypeScript on Node.js.

    12 modules
  • Module 1: Measuring Cost Before You Code

    Name the time and memory cost of code before you run it, measure it with a small benchmark script, and read input limits to know the cost you need.

    Module
  • Set up Claude Design with Claude Code, from design system to working screen

    Import your styles into a design system, design a screen against it, and let Claude Code build the screen from the design's files, not a screenshot.

    AI & ML
  • Module 8: Streams and Pipelines

    Async iterators, Readable and Transform streams, pipeline and backpressure for files too big for memory.

    Module
  • Module 9: When Other Services Fail

    Timeout, retry with backoff and jitter, and Circuit Breaker for a Node.js backend that calls slow services.

    Module
  • Design Patterns in Plain Words

    A ten-module course on design patterns in TypeScript and Node.js: what problem each pattern solves, the form TypeScript developers write, and when to leave it out.

    10 modules
  • Module 1: Before Patterns

    Why backend code becomes hard to change, the three ideas behind every pattern, and how to read the figures in this course.

    Module
  • Module 10: Capstone

    Three refactorings of a TinyTickets backend that use the patterns from Modules 1 to 9, plus the pairs people confuse and the signs of overuse.

    Module
  • Module 2: Creating Things

    Factory functions, Factory Method, Builder and Singleton in TypeScript, and how Node.js module caching gives you a Singleton with no extra code.

    Module