Dependency Inversion with a Persistence Adapter
Learn how to implement dependency inversion with a persistence adapter.
We'll cover the following
Introduction
In the chapter “What’s Wrong with Layers” we talked about a traditional layered architecture and discussed how it supports “database-driven design” because, in the end, everything depends on the persistence layer. In this chapter, we’ll look at how to make the persistence layer a plugin to the application layer to invert this dependency.
Get hands-on with 1400+ tech skills courses.