Topic

#Architecture

Everything I have written about Architecture.

1 article

<#Architecture class="bcard-title" lang="en" dir="ltr"> Order Management System Design: State Machines

Order, payment and fulfilment as three separate state machines: enums declare the legal transitions, one service enforces them under a row lock with a full audit trail, plus split shipments and capped partial refunds - with tested code.

36 min read

Newsletter

Get the next article in your inbox

One short email when a new article is out: Laravel, backend architecture, payments and lessons from production. No spam, unsubscribe in one click.

Only used for this newsletter. Never shared.