Building the backend first and the frontend later is not agile. It is waterfall squeezed into a two-week sprint.
When teams first move to feature-driven development, they often make the same mistake. They form a cross-functional team, pick up a feature, and then build it the old way: the whole backend first, then the whole frontend, and integration at the very end of the sprint.
That is not vertical development. It is a micro-waterfall: the same phases, the same late surprises, just compressed into two weeks.
The cure is the most important technique a feature team has: the vertical slice.
What a Vertical Slice Is
A vertical slice is a thin, fully integrated strip of functionality that cuts through every layer of the stack: user interface, API, business logic, and data. It is functional, testable, and demonstrable, even when its scope is tiny.
The key word is thin. A slice is not a whole feature. It is the smallest piece of the feature that works end to end.
Example: Search and Filter
Suppose the product owner brings this story:
“As a shopper, I want to search and filter products by category, price, rating, and availability so I can find exactly what I want to buy.”
A horizontal split looks like this:
- Sprint 1: the DBA builds the search index.
- Sprint 2: the backend team builds the API endpoints.
- Sprint 3: the frontend team builds the search page.
- Sprint 4: integration and bug fixing.
Nothing works for a customer until the end of Sprint 4, and Sprint 4 is where every mismatched assumption comes to light at once.
A vertical split looks like this:
- Slice 1, the walking skeleton: a search box that calls a real endpoint and shows results, even if the results are simple or partly mocked. Every layer is connected from day one.
- Slice 2: real search terms against the real database.
- Slice 3: price and category filters.
- Slice 4: rating and availability filters.
Each slice is shippable. Each one adds visible value.
Three Advantages You Get for Free
1. Early integration. From the second day, the frontend is talking to the API, and the API is querying the database. There is no integration phase at the end, because the system has been integrated from the start.
2. Immediate feedback. The team can deploy the first slice to staging and show it to the product owner. Even with mocked data, the PO can say, “The search box feels too small on mobile. Let’s fix the layout before we write the real query logic.” Feedback arrives when changes are still cheap.
3. Lower risk. If priorities shift or the sprint ends early, the team still has a working search bar. It may not filter by category yet, but it searches. In the horizontal plan, running out of time in Sprint 3 leaves you with a beautiful search page that is connected to nothing: zero value delivered.
How to Slice Well
A few habits make slicing work in practice:
- Start with the walking skeleton. Connect every layer with the simplest possible behavior before adding depth.
- Slice by user value, not by layer. “Filter by price” is a slice. “Build the price filter API” is a component.
- Agree on the API contract first. When frontend and backend agree on the contract on day one, both can build in parallel against it.
- Keep each slice small enough to finish in a few days. If a slice takes the whole sprint, it is probably a feature in disguise.
- Demo working software. In the sprint review, show the customer flow running end to end, not diagrams of schemas and endpoints.
Wrapping Up
A cross-functional team that builds in horizontal layers has the structure of a feature team and the behavior of a silo. Vertical slices close that gap. They force integration early, put working software in front of the product owner within days, and guarantee that whatever you have when time runs out actually works. Slice thin, connect every layer, and ship value one slice at a time.
This article is adapted from Chapter 3 of my upcoming book, Vertical Velocity: How to Break Silos, Ship Faster, and Reclaim Engineering Joy. The chapter goes further: the anatomy of a feature pod, the anti-patterns that turn feature teams back into silos, and a self-assessment quiz to find out where your team stands. Follow this blog to hear when it’s out.