0 votes
in Design Pattern by

What is mvp (Model-View-Presenter) design pattern ?

1 Answer

0 votes

Three parts of MVP:

Model: The model contains the actual information that will be displayed to the user. It is updated as the user inputs new information.

View: As the name implies, the View is a group of graphical components used to display the Model information to the user. It allows the user to manipulate the Model data in a graphical and easy to understand.

Presenter: The presenter acts as a middle-man between the View and Model. It has the responsibility of providing the View with the data from the Model whenever its requested by the user. It also validates data comming from the View that goes into the Model and then save it to the underlying data store (a relations database (mysql), text file, etc.).


MVP (Model-VIew-Presenter)




Share:- Whatsapp Facebook Facebook

Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.