Skip to main content
WritingVideosSpeakingCodeAbout

Tag

Code organization

Every article on Code organization, newest first.

  • 20Articles
  • 135 minOf reading
  • 5Subjects
Aug 20264 min read
Architecture

Every Feature Touches Ten Files

Ten files open for a one line change is either layering working correctly or one idea smeared across a codebase. The count does not tell you which, and git history does.

Aug 20268 min read
Architecture

It Was Fine Until We Added A Second One

Every trigger in this series has been a second something. That is not a coincidence, and it is the only signal in here reliable enough to act on.

Aug 20268 min read
Architecture

Nobody Wants To Touch That Model

Every Laravel codebase has a model people route around. Counting its lines is the least useful thing you can do to it, and extracting traits is how the count gets hidden rather than fixed.

Aug 20267 min read
Architecture

The Job And The Controller Disagree

The same operation runs from two entry points and they have quietly drifted. In Laravel that drift has a predictable shape, because validation lives at the edge and only one edge has it.

Aug 20268 min read
Architecture

Your Test Suite Is an Architecture Report

A slow Laravel test suite gets treated as a tooling problem. It is usually a coupling measurement, and the number worth watching is not how long the suite takes.

Aug 202614 min read
Shipping & Tooling

Controlling Code Quality When an Agent Writes Your Laravel

Specs, ADRs and path-scoped rules. The three layers of context I build around an agent so it writes Laravel the way my codebase does, not the way every tutorial does.

May 20267 min read
Engineering Leadership

Introduction To Systems Architecture

Learn how to map application components, layers, and dependencies before you start building.

May 20267 min read
Engineering Leadership

Thinking In Layers

Use layered thinking to place logic in the right part of your application before it turns into a mess.

Feb 20266 min read
Architecture

Why your Laravel controllers should be almost empty

Controllers are a transport layer, not a home for business logic. How I keep Laravel controllers down to a handful of lines using Form Requests, payloads, and Action classes.

Feb 20263 min read
Architecture

The Pattern-First Trap in PHP

Why starting with design patterns too early can overcomplicate PHP apps, and a practical way to design from constraints instead.

Oct 20259 min read
Architecture

Building modular systems in Laravel - A practical guide

Learn how modular architecture transforms Laravel apps into scalable, maintainable systems.

Mar 20238 min read
Architecture

Modelling Business Processes in Laravel

Simplify complex business processes in Laravel using pipelines for clean and elegant code.