I got a little confused in these two programming programs: MVC and MVP.
What are the main differences between the two ?; I searched on the net and I made several examples of both of them, but I'm even more confused because on some examples of web pages MVP uses more than two interfaces to pass to the presenter with a presentation level (some of them even have completely empty interfaces, only declared ), but in other cases only two interfaces are required to transfer data from the presenter for viewing. What is the correct way to apply this pattern?
On the other hand, I have been working on MVC for some time, but I still understand that maybe I used the template incorrectly. I had this:
- Model: C # classes that behave like business class objects.
- Controller: C # classes that use model objects to populate or manage them.
- View: C # aspx pages to display model objects; the controller is responsible for sending the model objects to this level after manipulating and / or filling them with data.
Hope you can clear my doubts. Thanks in advance.
model-view-controller mvp
lidermin
source share