473,396 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 11906
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.com> wrote in message
news:9c**************************@msnews.microsoft .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.com> a écrit dans le message de news:
9c**************************@msnews.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**************@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?

-Jeff

"Michael Nemtsev" <ne*****@msn.com> wrote in message
news:9c**************************@msnews.microsoft .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
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...
3
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...
1
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 ...
13
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...
4
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
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...
1
by: puzzlecracker | last post by:
I am specifically referring to bridge pattern illustrated in GOF. Thanks
12
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...
7
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
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.