Join Now
|
Login
home
login
join now
.NET pattern framework
javascript + jquery patterns
database pattern framework
products and pricing
.NET design patterns
javascript design patterns
javascript tutorial
sql + database tutorial
connection strings
visual studio shortcuts
c# coding standards
html color codes
all references
explore
questions
ask question
tags
users
contact us
training courses
schedule
registration
about us
training and education for professional developers
login
join now
Home
Questions
Question
« Prev Topic
|
Next Topic »
Looking for an MVP explanation and example
Itman Man
50
50
May 21, 2012
0
Hello
From what I understand, MPV is a pattern to be used in Windows application.
Is this correct?
If so, could someone provide an example?
Thanks!
MVP
Example
1 comment
MVP can also be used for web apps. my last job we used MVP for out web apps. ---
Dennis Tucker
May 22, 2012
Add Comment
Flag
Follow
Email
2 answers
answer date
votes
comments
Nirav Valera
50
50
May 24, 2012
0
Not only for Windows. It's for Web Application as well.
Example: Any WebForm which having following functionallity like
Web Form With Validation. It can be entry or display form. (It's nothing but View and Presentation)
Manipulating data according business process.(It's nothing but Service or Domain).
Interacting with DB for retrieving and storing data. ( It's nothing but Data Access)
Regards,
Nirav Valera
Add Comment
Flag
Link
Rajesh Pillai
1,354
100.0
May 29, 2012
0
Some info here..
http://www.dofactory.com/topic/1597/model-view-presenter-with-both-webforms-and-winforms/1782.aspx#p1782
M
VP nicely plays with windows app as well as web forms. We recently migrated a windows forms app built on MVP to asp.net web forms MVP.
The migration was simple as only the views was required to be coded. All other things remained same.
To the beginner MVP may seem too much of abstraction, but once you get the crux of it, everything falls in its place. It's definitely a recommended approach to big enterprise application.
Some more examples here..
http://geekswithblogs.net/rajeshpillai/category/10990.aspx
Add Comment
Flag
Link
Write Your Answer
return to top