Skip to main content
ArticlesProjects
Tag Archive

Articles Tagged: api-development

Technical writings, opinionated architectures, and development guides tagged with api-development.

Articles21
Est. Read Time222 mins
Categories5
Featured0
Sept 202612 min read
PHP

The Second Pattern: The Ones I Left Out

Five patterns I know well, that come up constantly, and would not reach for in PHP. Not because they are bad ideas, but because of what the runtime does and does not give you.

Sept 202612 min read
PHP

The Second Pattern: Blackboard

A pipeline works until one step both needs and improves the same piece of information. That is a cycle, and a topological sort has exactly one contract: there are no cycles.

Sept 202612 min read
PHP

The Second Pattern: Event-Carried State Transfer

A consumer that receives an ID and immediately asks you for the record has not been decoupled from you. It has been given a slightly slower way to call your API.

Sept 202614 min read
PHP

The Second Pattern: Process Manager

Everyone calls it a Saga. Most of the time it is a Process Manager, and the muddle is why teams adopt the word and then never write the compensations it never promised them.

Sept 202613 min read
PHP

The Second Pattern: Bulkhead

Carrier B did not go down, it got slow, and every worker sat inside an eleven second call that returned a valid 200. Circuit breakers ask the wrong question about that.

Aug 202611 min read
PHP

The Second Pattern: Idempotent Receiver

Select then insert handles the easy half of duplicate delivery and misses the concurrent case, which is the half that actually fires. This time the framework has already done it properly.

Aug 202615 min read
PHP

The Second Pattern: Transactional Outbox

Commit then notify loses messages. Notify then commit sends lies. The dual write problem has no clever solution, and Tempest ships more of the machinery than it advertises.

Aug 202612 min read
PHP

The Second Pattern: Anti-Corruption Layer

Carrier B speaks GraphQL, so the response arrives shaped like your query and feels like it belongs to you. It does not, and their vocabulary is now load-bearing in your domain.

Aug 202615 min read
PHP

The Second Pattern: Specification

Nine optional parameters is the symptom. The problem is a business rule that has to run in SQL and in memory, written twice and quietly drifting apart.

May 20265 min read
Tempest

The Reason I Love Tempest for APIs

Tempest makes API development feel lightweight by combining typed request objects, attribute-based validation, discovery-driven routing, and built-in mapping with minimal ceremony.

Jan 20268 min read
DevTools

Building a Claude Code skill

Create portable instruction manuals for Claude to teach domain-specific approaches, with a deep dive into building a production-grade Laravel API skill.

Dec 20257 min read
API Development

Automate local API testing with Bash

This article shows how to automate a complete authentication workflow using Bash, curl, and jq.