Why UnitOfWork? ... The Philosophy of Transactional Consistency
Why do we need UnitOfWork? The orphan data problem, the 'all or nothing' philosophy, and how SQLite WAL changes the rules.
Read article →Index
Plain Markdown, one module, no build required.
Why do we need UnitOfWork? The orphan data problem, the 'all or nothing' philosophy, and how SQLite WAL changes the rules.
Read article →How OPcache keeps compiled opcodes in memory, what opcache.preload does and when JIT compiles PHP all the way down to native machine code ... part three of the series about why PHP is precompiled like Astro.
Read article →A PHP timeline from PHP/FI (1994) through the birth of the Zend engine to today's PHP 8.5 ... and why every big speed jump meant a new engine written in C. Part two of the PHP C chunks series.
Read article →A debate with DeepSeek about the vision of a super-fast PHP app: why clean PHP with zero dependencies beats Next.js and Astro, why we threw out the cache and got 100/100 on PageSpeed, and what remains of that conversation as the philosophy of our stack.
Read article →What the Zend engine is, how PHP turns your source code into opcodes and why the whole interpreter is written in C ... the first part of a series about why PHP is really a set of precompiled C chunks.
Read article →What a hunk is, why git uses it instead of a plain list of lines, and how to work with it ... git diff, git add -p and a real case where a hunk forced us to think differently.
Read article →The second registered-only bonus. How the admin panel knows who changed what and when ... and why that record can't be deleted or rewritten. Two layers of immutability: a repository without UPDATE/DELETE and SQLite triggers that block even a direct hit on the database.
Read article →Third member-only bonus. The search on /blog?q= runs without Elasticsearch, without Solr, without a single new file on disk ... the index lives in memory and is built in milliseconds. We look at FTS5, bm25 ranking and why a full-text query cannot be injected.
Read article →A bonus article for registered readers only. We show how this blog locks part of its content ... a single word in the front matter, a teaser with a sign-in prompt, and why the gate can't be bypassed through the feed or search.
Read article →