DEV Community

Discussion on: A Brief Summary of thoughts on Clean Architecture and MVP

Collapse
 
ronaldogeldres profile image

Very interesting article, I was looking for a good explanation of clean architecture and MPV and I found it, but I have a question if you don't mind, In the following image you show us how clean architecture is structured, In UI I see Presenter and View, they both from (MVP), but where is the Model? or what component represents the Model? maybe I'm missing something.

Clean-Architecture

Collapse
 
szaboa profile image
Arnold Szabó

The model refers to the use cases. If you are leaving out the domain layer, then the model becomes the repository for example.