-
Notifications
You must be signed in to change notification settings - Fork 0
(MVP) Model View Presenter
Devrath edited this page May 29, 2021
·
15 revisions
To overcome the drawbacks of MVC controller overloading with the business logic. Modifications were done to segregate it to a better representation of architecture called Model-View-Presenter.
- Different people use different variations of the
MVP pattern. - Common and the most popular type of
MVP patternis by using a contract between theviewand thepresenter - The
contractis aninterfacebetween theviewand thepresenter - The
viewcalls a method to initiate an action in thepresenter, the action can be to fetch the data from themodel. - Finally once the
datais retrieved from themodelthepresenternotifies theviewvia thecallback from the contract.