Writing

Essays on server-driven UI

Sourced, demonstrable essays on shipping UI from your backend — without an interpreter. Every piece traces to running code, a primary source, or a test you can read.

SecurityregulatedFeatured

Server-driven UI breaks under a strict CSP — here’s the proof

If your UI is generated from strings at runtime, a no-unsafe-eval Content-Security-Policy turns it off. Why code-from-strings and a strict CSP are structurally at odds — with a running demo and the test that proves it.

8 min read
Architecture

You could build server-driven UI yourself. Here’s the bill.

The first version of a home-grown server-driven UI is a weekend. Then the Configuration Complexity Clock starts: your JSON grows conditions until it’s a worse programming language. What you actually signed up for — and the rule that avoids it.

6 min read