All articles

The LVD Thesis: Stratify by Rate of Change

The five claims behind Layered Volatility Decomposition, how to read each one critically, how the book is organised, and a way to test them on your own code.

8 min read · Full article

Why Three Tiers Are No Longer Enough

The case for finer layers: three tiers hide mixed volatility, and four modern pressures (microservices, AI, many protocols, compliance) make it worse.

4 min read · Teaser

The Folder-as-Layer Principle

Make the layers visible in the file tree: why one top-level folder per layer helps navigation, tooling and migration, with a ticketing-service sketch.

4 min read · Teaser

The Anatomy of a Tool

Every LVD tool comes out of one factory with five named parts. Here is what they are, why validation stays out of the handler, and what a two-part result buys.

4 min read · Teaser

Why the UI Deserves Its Own Layer

Why the second edition promotes the UI from outside client to Layer 9, and how a simple inheritance rule for volatility puts it above Agents.

4 min read · Teaser

A Framework for Comparing Architectures

Architecture debates run on adjectives. Here is the book's ten-property yardstick for comparing LVD with other designs, and how to borrow it on your own code.

4 min read · Teaser

LVD vs. Clean Architecture

Clean Architecture and LVD both point dependencies at the stable core, but differ in how finely they slice the outer rings and in what they say about AI and UI.

4 min read · Teaser

LVD vs. Hexagonal Architecture

Hexagonal architecture splits a system into inside and outside; LVD slices both halves by volatility. How the two map onto each other and where each is simpler.

3 min read · Teaser

LVD vs. Domain-Driven Design

LVD and domain-driven design are not rivals. One tells you what to model, the other where each piece lives. How the concepts map and how to combine them.

4 min read · Teaser

LVD vs. Traditional Layered Architecture

Three tiers promise downward dependencies but allow shortcuts. Why that mixes volatilities, how cycles creep in, and a five-phase path to LVD.

4 min read · Teaser

LVD vs. Microservices

Microservices decide how a system is cut into deployable pieces; LVD decides how each piece is built inside. How they nest, and how to combine them.

3 min read · Teaser

How ShopFlow's Architecture Absorbed Change

What a retail platform's change log reveals about its layers: some changes stay below, some add above, a few cut across. A tour of the book's ShopFlow events.

4 min read · Teaser

ShopFlow: Lessons Learned

What the book's ShopFlow case study found easy, what it found hard, and what it would tell the next team, from layer-shaped defects to testing agents.

4 min read · Teaser

MedConnect Layer by Layer

A walk up the MedConnect stack: what the schema, utility, resource, tool, API and UI layers each contribute to protecting patient data, and why.

3 min read · Teaser

MedConnect: Designing an Audit Trail

How MedConnect traces every request through the layers, writes tamper-evident audit entries, logs who saw which fields and why, and keeps records for years.

4 min read · Teaser

MedConnect: Results and Lessons Learned

Why the book projects lower compliance overhead for a layered healthcare platform, what still hurt (training, encryption, legacy systems) and what it advises.

4 min read · Teaser

Putting LVD Checks into CI/CD

Where LVD's checks belong in the delivery flow: pre-commit hook, pull-request pipeline with differential metrics comments, and editor feedback as you type.

4 min read · Teaser

The LVD Testing Pyramid

LVD gives each layer its own rung on the test pyramid and its own coverage target. Here is the reasoning, and why layering makes testing easier.

4 min read · Teaser

Test Infrastructure for a Layered System

The plumbing behind LVD test suites: test data patterns, four ways to fake a dependency, and a parallel run order that follows the layer graph.

3 min read · Teaser

Assessing a Codebase Before You Migrate

Before moving any file, measure: extract the dependency graph, compute volatility from history, find the gaps against the target layers, and plan bottom-up.

4 min read · Teaser

The Nine-Step Migration Roadmap

A tour of the book's nine-step migration roadmap: extract the stable layers first, add the AI-facing layers last, and gate every step on checks you can run.

4 min read · Teaser

Migrating to LVD Without a Big-Bang Branch

A long migration branch loses to a main branch that keeps moving. Two LVD migration patterns on a ticketing codebase: strangler signposts and temporary flags.

4 min read · Teaser

Teams and Challenges During a Migration

How to staff and train a layered migration, answer resistance with data, and handle four recurring obstacles from cycles to stranded UI logic.

4 min read · Teaser

UI Layer Violations

The UI is where shortcuts are most tempting. Three anti-patterns that break Axiom A6 or the UI's own ordering rules, and how each one is caught.

4 min read · Teaser

LVD Inside a Single Microservice

Small services still contain code that changes at different speeds. How LVD applies inside one microservice, and how to pick the layers it actually needs.

3 min read · Teaser

Cross-Service Concerns Under LVD

Shared types, service-to-service calls and sagas all have a home in LVD. The network boundary needs no new layer rules, only a clear path through Resources.

3 min read · Teaser

Bounded Contexts with LVD

How to combine DDD bounded contexts with LVD layers: give each context its own full stack, and treat the shared kernel as a small Schema package.

4 min read · Teaser

Aggregates and the Tools Layer

How DDD aggregates shape the Tools layer: one root per set of tools, one aggregate per transaction, and sagas driven by domain events for anything wider.

3 min read · Teaser

Domain Events Across Layers

Where domain events live in LVD: schemas in L1, emission from Tools, consumption through Resources, and event sourcing spread across four layers.

3 min read · Teaser

When to Combine LVD with DDD

A practical test for when LVD alone is enough and when Domain-Driven Design belongs beside it, with a way to introduce DDD gradually instead of all at once.

3 min read · Teaser

Why LVD Cannot Contain Dependency Cycles

A plain-language proof sketch of why a strict one-way layer ordering rules out dependency cycles, and where the guarantee needs an extra rule.

4 min read · Teaser

What's New in the Second Edition

What changed in the second edition of LVD, why the UI earned its own layer, and how a team used to the eight-layer picture can adopt the change.

8 min read · Full article