473,714 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Difference Between MVP and MVC Patterns

What are the basic and/or obvious differences between the Model View
Presenter pattern and the Model View Controller pattern.

Thanks.

*** Sent via Developersdex http://www.developersdex.com ***
Feb 18 '06 #1
6 11915
Hello Jeff,

here with samples http://www.martinfowler.com/eaaDev/M...Presenter.html

JS> What are the basic and/or obvious differences between the Model View
JS> Presenter pattern and the Model View Controller pattern.
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Feb 18 '06 #2
That article does a great job of defining and illustrating MVP, but I didn't
see where it answers my question - which is; what is the basic and/or
obvious differences between the Model View Presenter pattern and the Model
View Controller pattern? If it does, then it went over my head.

Can someone say it in plain English?

-Jeff

"Michael Nemtsev" <ne*****@msn.co m> wrote in message
news:9c******** *************** ***@msnews.micr osoft.com...
Hello Jeff,

here with samples
http://www.martinfowler.com/eaaDev/M...Presenter.html

JS> What are the basic and/or obvious differences between the Model View
JS> Presenter pattern and the Model View Controller pattern.
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche

Feb 18 '06 #3
"Michael Nemtsev" <ne*****@msn.co m> a écrit dans le message de news:
9c************* *************@m snews.microsoft .com...

| here with samples
http://www.martinfowler.com/eaaDev/M...Presenter.html
|
| JS> What are the basic and/or obvious differences between the Model View
| JS> Presenter pattern and the Model View Controller pattern.

Sorry Michael, but this is not a very good example of MVP. I have been
working with this pattern and have written several articles which are on my
web site www.carterconsulting.org.uk. Also you can see the "definitive " MVP
document at ftp://www6.software.ibm.com/software...ibrary/mvp.pdf

The essential differences include the addition of the Selection and Command
Set classes to the Model and the Interactor to the Presenter.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Feb 18 '06 #4
I'm not smart enough to give you the differences, benefits, etc., but
there's been some talk on MVC vc. MVP on the Composite UI message board.
Interesting things like MVP is easier for unit tests etc.

You may want to check out the messages here
http://www.gotdotnet.com/codegallery...a-f2eafbf2653c
and search for MVP.

You have to sign in first.

Regards,
Mike

"Jeff S" <A@B.COM> wrote in message
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
That article does a great job of defining and illustrating MVP, but I
didn't see where it answers my question - which is; what is the basic
and/or obvious differences between the Model View Presenter pattern and
the Model View Controller pattern? If it does, then it went over my head.

Can someone say it in plain English?

-Jeff

"Michael Nemtsev" <ne*****@msn.co m> wrote in message
news:9c******** *************** ***@msnews.micr osoft.com...
Hello Jeff,

here with samples
http://www.martinfowler.com/eaaDev/M...Presenter.html

JS> What are the basic and/or obvious differences between the Model View
JS> Presenter pattern and the Model View Controller pattern.
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche


Feb 18 '06 #5
"Jeff S" <A@B.COM> a écrit dans le message de news:
u0************* *@TK2MSFTNGP09. phx.gbl...

| That article does a great job of defining and illustrating MVP, but I
didn't
| see where it answers my question - which is; what is the basic and/or
| obvious differences between the Model View Presenter pattern and the Model
| View Controller pattern? If it does, then it went over my head.
|
| Can someone say it in plain English?

That article is *not* a good example of MVP, see my other post for links to
the "official" definition by the inventors.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Feb 19 '06 #6
Nice link, thanks Joanna

J> | That article does a great job of defining and illustrating MVP, but
J> I
J> didn't
J> | see where it answers my question - which is; what is the basic
J> and/or
J> | obvious differences between the Model View Presenter pattern and
J> the Model
J> | View Controller pattern? If it does, then it went over my head.
J> |
J> | Can someone say it in plain English?
J> That article is *not* a good example of MVP, see my other post for
J> links to the "official" definition by the inventors.

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Feb 19 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2564
by: Design Pattern Catalog | last post by:
Thank you for your interest in "Design Patterns: Elements of Reusable Object-Oriented Design", by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. This message answers several frequently asked questions. If you thought you were asking for the source code, you must have made a mistake. Please try again! The "pattern home page", with all this information and more, is at...
3
14736
by: Giulio | last post by:
I'm studying Craig Larman's "Applying uml and Patterns" (third ed.) reading at the book it seems (16.6) that Operations and Methods in a Class diagram are something different but it's not explained what's the difference. I always thought they were the same thing. Do someone knows what's the difference? thanx alot Giulio
1
2374
by: Jay | last post by:
The GOF text is widely considered the definitive book on the topic. Design Patterns: Elements of Reusable Object-Oriented Softare, Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides Note, all the examples are in C++ but you can get through them with a little work.
13
6554
by: John Salerno | last post by:
Here are a few I'm considering: Design Patterns Explained : A New Perspective on Object-Oriented Design (2nd Edition) (Software Patterns Series) by Alan Shalloway Design Patterns C# by Steven John Metsker Design Patterns by Erich Gamma Head First Design Patterns by Elisabeth Freeman
4
3472
by: myhotline | last post by:
Hi there, I was wondering from where i can get the source code of patterns implemented in either C# or Vb.NET. Any help or advice will be highly appreciated. Thanks in advance. Regards, -ANaive
37
5975
by: Alan Silver | last post by:
Hello, Newbie here, so please forgive what is probably a basic question ... I see a lot of discussion about "code behind", which if I have understood correctly, means that the script code goes in a separate file from the HTML. Apart from the obvious advantage if you have a separate designer and programmer, are there any other advantages to code behind? Most of the stuff I've seen so far uses code inside, but that's probably
1
2381
by: puzzlecracker | last post by:
I am specifically referring to bridge pattern illustrated in GOF. Thanks
12
1906
by: Jeff | last post by:
I'm just getting up to speed on OOP patterns (e.g, MVC) and I'm wondering how closely they are followed out in the real world. Do those of you who use them try to follow them as closely as possible and deviate only as necessary? Or do you only generally follow them; mix-n-match as necessary? Just wondering what I should be looking to accomplish with OOP patterns in general. Thanks!
7
3104
by: =?Utf-8?B?bWF2cmlja18xMDE=?= | last post by:
Hi, I would like to know more about design patterns and specifically using C#. Can any one recommend a good book? Thanks
16
2726
by: somenath | last post by:
Hi All. I would like to know the following information. 1)Is there any difference between the address and integer ? For example suppose int x = 500; And int y =10; Suppose address of y is also 500; My doubt is there any difference between the properties of value of x
0
8817
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9189
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9086
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9037
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6641
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5964
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4470
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3170
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.