Junior — Middle
At what level of the architecture is the layer responsible for data storage according to clean architecture principles?
sobes.tech AI
Answer from AI
In clean architecture, the layer responsible for data storage is located at the Infrastructure or Data Layer. This layer interacts with external data sources (databases, networks, file systems) and implements interfaces defined in the Use Cases (business logic) layer. Thus, the data storage layer is closer to the outer layers of the architecture and is isolated from the business logic and user interface.