Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.07 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.07 KB

Clean Architecture

A clean architecture is a software structure that allows developer to keep his code analysable, testable, verifiable and maintainable.

Robert C. Martin propose that architecture as a layered organization with well-defined responsibilities.

We can compare it to an onion.

More information at :

Explanation of my clean architecture

My application is composed of 4 parts :

  1. Domain : Contains all entities, errors, ...
  2. Business : Contains use cases
  3. Infrastructure : Contains repositories (that allows to use dependencies)
  4. Application : Contains presenters, view model

Example in Java

I've wrote the equivalent of this architecture in Java : https://github.com/Azel-ytof/java-clean-architecture-example

Links