Fullstack

29 articles · all categories

Fullstack articles

4 articles from 2022 · show all

October 2022

Why PATCH endpoints matter

A painful lesson from production that brought several engineers almost to tears: *Please* add PATCH endpoints to your public APIs.

Over-engineering tweet embeds with web components for fun and privacy

A way to embed tweets in static sites with full pre-renders and live updates using just 9kB of client-side JavaScript, 2 HTTP requests, and full reader privacy ✌️

August 2022

Move your business logic into data

The quickest way to simplify a complex function with lots of logic is to turn it into data. A lesson from production

June 2022

You are allowed to invent HTTP status codes

A fun problem for RESTful APIs: Did you get 404 because your URL is wrong or because the resource wasn't found?