471,319 Members | 1,430 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 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 11842
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Design Pattern Catalog | last post: by
3 posts views Thread by Giulio | last post: by
1 post views Thread by Jay | last post: by
13 posts views Thread by John Salerno | last post: by
4 posts views Thread by myhotline | last post: by
1 post views Thread by puzzlecracker | last post: by
12 posts views Thread by Jeff | last post: by
7 posts views Thread by =?Utf-8?B?bWF2cmlja18xMDE=?= | last post: by
16 posts views Thread by somenath | last post: by

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.