clear Arch

MVC

introduced by the Trygve Reenskaug in the 70's

https://www.youtube.com/watch?v=WpkDN78P884

https://medium.com/@fbzga/clean-architecture-in-ruby-7eb3cd0fc145

Clean Architecture

Entities

  1. domain / core business

  2. not connect with DB

  3. cannot be directly saved or queried

Use cases

  1. queries

Interface Adapters

  1. boundary between the business logic and external systems

  2. APIs to exchange data

External interfaces

  1. a web server implements (REST) entry points

  2. storage system implementation

Clean Architecture Example

Last updated

Was this helpful?