In this video Emmanuel Henri explains the model-view-presenter pattern with an example.
- [Instructor] Now the next pattern…is the Model-View-Presenter pattern,…which is loosely based on MVC and almost the same.…Looking at both will help define the major differences…in between the two, but they offer similar approaches…but architectured differently.…In an MVC, or Model-View-Controller, pattern,…we have our application organized…in models, views and controllers.…Typically, the organization will have views pull data…from controllers or models directly.…And if there are any other logic or functions needed…for the view, the controllers will supply them.…
So in other words, the views have access to both models…and controllers in an MVC model.…Where MVP differs is the view…doesn't have access to the model.…It has to get it from the presenter.…And the presenter serves as the logic and supplier of data.…In this pattern, the view passes through the presenter…to get the data through functions.…And the presenter pulls from the model.…It is the major difference.…The MVP pattern is seen in several frameworks,…
- What's a pattern?
- What's the role of callbacks?
- Creational patterns, including Singleton and Factory
- Structural patterns, including model-view-controller
- Behavioral patterns, including Memento and Mediator
Skill Level Intermediate
2. Creational Patterns
3. Structural Patterns
4. Behavioral Patterns
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.