Writing · Page 3

Blog

Showing 21–30 of 47

RSS feed
The Boundary in Laravel: FormRequest Is Not a DTO
PHPLaravelArchitecturePerformance

The Boundary in Laravel: FormRequest Is Not a DTO

Laravel already enforces two of the five boundary rules and breaks the other three. Deptrac covers the layers, five reflection checks cover what it cannot see, and the measured price is not the mappers — it is the validators that hit the database.

October 21, 202618 min read
Read post
DTO-First: The Boundary Decides What the Domain Sees
PHPSymfonyArchitecturePerformance

DTO-First: The Boundary Decides What the Domain Sees

DTO-first is advice until something enforces it. Five boundary rules, each checked by a gate that fails the build — and the measured price of the doctrine: the mappers cost half a microsecond, and one validator constraint costs more than all the others together.

October 20, 202621 min read
Read post
An MCP Server in PHP: Signed State Is Provenance, Not Single Use
PHPMCPReliability

An MCP Server in PHP: Signed State Is Provenance, Not Single Use

An MCP server that asks before it rolls a service back has to survive being asked twice. Three defects found while reviewing a working one — a refusal read as consent, a signature mistaken for single use, and a replay guard with a race in it — with the measurement behind each fix.

October 14, 202619 min read
Read post
PHP 8.6: every feature, before and after
PHPToolingPerformance

PHP 8.6: every feature, before and after

PHP 8.6 removes ceremony: a placeholder instead of a lambda, a default instead of a constructor body, a Duration instead of an int. Every change here is measured on 8.5 and 8.6 — including the optimisations that did not reproduce and the one shape that got slower.

October 14, 202630 min read
Read post
git archive — what a tarball leaves behind
GitToolingDevOps

git archive — what a tarball leaves behind

A tarball is what a repository hands to everyone who will never clone it — and it is not the repository. What leaves, what stays behind, and why the same commit can compress to different bytes on a different machine.

October 13, 202626 min read
Read post
Bisect in CI: Reproducing the Commit Is the Hard Part
GitToolingDevOps

Bisect in CI: Reproducing the Commit Is the Hard Part

git bisect run in a pipeline is one line and almost useless on its own: the work is making an arbitrary historical commit provisionable, buildable and testable — and reading the loop's own exit status honestly.

October 12, 202610 min read
Read post
Parallel Agents on Git Worktrees: Isolation Is Not a Checkout
GitAgentsTooling

Parallel Agents on Git Worktrees: Isolation Is Not a Checkout

A worktree per task stops two coding agents from overwriting each other's files. It does not isolate the approvals, hook paths and untracked instructions that decide what an agent does next — nor the lifecycle a headless run leaves behind.

October 12, 202612 min read
Read post
Git Bisect: The Algorithm Is Trivial, Your Predicate Is Not
GitDebuggingTooling

Git Bisect: The Algorithm Is Trivial, Your Predicate Is Not

Bisect halves an interval and asks your predicate one question per step. On the same history, a broad predicate and a targeted one returned different culprits — both with exit status zero.

October 10, 202615 min read
Read post
Git Worktree: One Repository, Many Working Trees
GitToolingDevOps

Git Worktree: One Repository, Many Working Trees

One repository, several working directories on a single object store. What git worktree shares, what it isolates, the branch mutex, the lifecycle, relative paths, and the submodule limits the manual still calls incomplete.

October 9, 202613 min read
Read post
Sudo Mode in Symfony 8.2: The Rule That Silently Drops the Freshness Check
SymfonySecurityPHP

Sudo Mode in Symfony 8.2: The Rule That Silently Drops the Freshness Check

Symfony 8.2 makes sudo mode a primitive: IS_AUTHENTICATED_RECENTLY, a clock instead of a session flag, and a step-up that needs no code of yours. Plus the multi-attribute rule that silently drops the check.

October 5, 202615 min read
Read post