Skip to main content

Overview

Data Layer

The data layer of an app contains the business logic. The business logic is what gives value to our app—it's made of rules that determine how our app creates, stores, and changes data.

Domain Layer

The domain layer is responsible for encapsulating complex business logic, or simple business logic that is reused by multiple Clients. To keep these controllers simple and lightweight, each use case should only have responsibility over a single functionality, and they should not contain mutable data. You should instead handle mutable data in your UI or data layers.

UI Layer

The role of the UI is to display the application data on the screen and also to serve as the primary point of user interaction.


External materials