LVD vs. Traditional Layered Architecture

Almost everyone has worked in a three-tier system, and almost everyone has seen the same thing happen to it. It starts with tidy slabs for presentation, business logic and data access. A few years later there is a "common" package that every tier imports and a repository that quietly knows about a screen. Here is why the book calls this the largest structural gap in its comparison.

Slabs that mix rates of change

The traditional pattern divides a system into a presentation tier, a business-logic tier and a data-access tier. Dependencies are meant to run downward, but the pattern has no machinery to enforce it, so many implementations allow upward callbacks, event subscriptions and shared utility modules that cut across tiers.

The deeper problem, in the book's analysis, is what each tier holds. The business-logic tier contains data schemas, which change rarely, side by side with utility functions and with orchestration logic, which changes constantly. The data-access tier pairs stable repository patterns with third-party API clients that change whenever a vendor does. Because each tier is one compilation and review unit, a change to the volatile part drags the stable part along with it. Stable code ends up leaning on volatile code, which is the opposite of what you want.

How cycles arrive without anyone deciding

Nobody sits down and designs a dependency cycle. The book describes the shortcuts that produce them:

  • Business logic reaches into presentation types because a view model was convenient.
  • Data access imports business types to help build queries.
  • A shared "common" module is referenced by every tier, flattening the layering it was meant to serve.

LVD's answer is to take the discretion away. Because dependencies may only run from higher layers to lower ones, the book argues that these shortcuts become structurally impossible in a compliant system. Checking compliance is a job for tooling such as lvd-lint, not for a reviewer's memory. A tell-tale check in your own codebase: if one package is imported by all three tiers and keeps growing, it is probably doing the work that several LVD layers would do separately.

A path that never breaks the build

The structural distance from three tiers to LVD is the largest in the chapter's comparison, but the book argues it can be crossed in stages, each of which leaves a compilable, deployable system. It sketches five phases:

  1. Extract Schema. Gather type definitions, interfaces and validation schemas into one place. Low risk, since the types already exist somewhere.
  2. Extract Utils. Pull out the pure functions: formatters, calculators, validators. The test is simple: no side effects and no external dependencies.
  3. Isolate Resources. Move database access, HTTP clients and queue producers behind interfaces that the business logic consumes.
  4. Restructure business logic as Tools. Turn what remains into independent tool functions that compose Schema, Utils and Resources, and apply the no-sideways-dependencies rule from Axiom A5.
  5. Split the presentation tier. In the second edition this is two moves. Request handling, authentication and response formatting go to the API layer, with MCP, Skills and Agents added if you need them. Screens, components and view state go to the UI layer, which calls the API through a generated client.

The ordering is the clever part. It starts with the lowest-risk, most mechanical moves and works toward the places where design judgement is needed, so early phases deliver value before the hard decisions arrive. The book attaches projected effort and payback estimates to the path, which I will leave to it, since they are projections for a hypothetical system rather than measurements of yours.

The takeaway

Three-tier architecture is not wrong. It is under-specified: it names three buckets and trusts discipline to keep dependencies honest. LVD names nine, orders them by how fast they change, and makes the direction of dependency a rule. If you are carrying a tiered system today, the cheapest first step is Phase 1, which needs no one's permission and breaks nothing. When you are ready to plan properly, read the nine-step migration roadmap and assessing a codebase before you migrate. For why three tiers strain under modern demands, see why three tiers are no longer enough.

What the book covers

  • Why tiers conflate components of different volatilities
  • The common shortcuts through which cycles form in tiered systems
  • The five migration phases in full, with their sequencing rationale
  • How the presentation tier is split between the API and UI layers
  • Projected migration effort and payback, labelled as projections