- The view is responsible for rending UI elements
- The controller is responsible for responding to UI actions,
- The model is responsible for business behaviors and state management.
The MVP pattern is a UI presentation pattern based on the concepts of the MVC pattern. The pattern separates responsibilities across four components:
- The view is responsible for rending UI elements, the view interface is used to loosely couple the presenter from its view.
- The presenter is responsible for interacting between the view/model.
- The model is responsible for business behaviors and state management. In The view interface and service layer are commonly used to make writing unit tests for the presenter and the model easier

Join the conversation! Your thoughts help the community grow.