Skip to main content

Writing on Architecture

Notes on Laravel architecture, platform engineering, security and AI-assisted development.

Subscribe with RSS

  1. Strangle, don't rewrite: moving a live system onto a new tenancy model

    4 min read

    How to move a live, white-label system onto one tenancy model without a rewrite: one seam, one consumer at a time, fail closed, then delete the old path.

  2. Baselines that only shrink: freezing technical debt without pretending it's gone

    5 min read

    How I use baselines to switch on strict static analysis today, hold new code to the full rule, and make sure the recorded debt can only shrink.

  3. Save Your Tests with Repositories in Laravel

    7 min read

    Tired of slow, brittle tests in Laravel? The repository pattern can help! Learn how to decouple your tests from the database, speed up execution, and write cleaner, more maintainable code.