Jump to content

Recommended Posts

Posted

In this interview, Greg Galipeau of RDA discusses three different patterns -- MVC, MVP and ASP.NET MVC with Dr. Zhiming Xue “Z”, Microsoft Architect Evangelist. Greg articulates the advantages and disadvantages inherent in each pattern, and explains when to use one versus another when creating Windows forms applications and web applications. In his view:

 

- MVP may be considered when you want more extensive testing, i.e. testing everything on the view. It is harder to set up, but gives you a little more on the testing side. It is very useful when creating an application for both the web side and the win form side.

 

- MVC may be a good candidate when testing is important but you feel comfortable testing right from the controller. It is also very useful for the win form side of things.

 

- ASP.NET MVC may be used when MVC is an option and you are doing strictly web development. This option is very useful because of its Front Controller type of pattern, which lets you implement a RESTful style paradigm. This option is also very useful because it doesn’t use postbacks or viewstate, which some people will like because it gets back to the traditional HTTP way that web pages were intended to be.

 

In short, MVC and MVP are just UI patterns, with ASP.NET MVC being a framework that implements the MVC pattern. Therefore, you can incorporate them with different data access or business layer patterns or frameworks of your choice, such as SOA and ADO.Net Data Service.

 

 

You can find Greg's view on the subject of “Choosing UI Pattern” at his blog.

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...