Clean Architecture Terms

2020-05-22

I've heard those terms multiple times but never actually thought about their origin or proper use.

Researching class naming conventions and concerns separation I found references to Clean Architecture book by Robert C. Martin.

Listing the terms I've selected to introduce for the Team

  • Model (Entity, Aggregate) - a representation of a business entity. Encapsulates associated business logic. Typically responsible for persistence.
  • Domain Service (Interactor) - domain logic that relies on two or more entities.
  • Use Case (Application Service) - a list of actions or event steps typically defining the interactions between a User and a system to achieve a goal.
  • Gateway - an adapter between the application and a 3rd party API.
Clean Architecture - 1 Clean Architecture - 2

Links