Clean Architecture

Learn what a Clean Architecture actually looks like.

Robert C. Martin cemented the term “Clean Architecture” in his book of the same name. In his opinion, in a clean architecture, the business rules are testable by design and independent of frameworks, databases, UI technologies, and other external applications or interfaces.

That means that the domain code must not have any outward-facing dependencies. Instead, with the help of the Dependency Inversion Principle, all dependencies point toward the domain code.

The figure below shows how such an architecture might look on an abstract level.

Abstract of Clean Architecture

Get hands-on with 1400+ tech skills courses.