dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersSidharthan
Navneet
Vinoth
Shanthi M
sp
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




Forums » .NET » ASP.Net MVC »

What is relation or difference between MVC and N-Tier Architecture


Posted Date: 12 Apr 2010      Posted By:: SSharma     Member Level: Gold    Member Rank: 321     Points: 1   Responses: 3



Hi,

Can anyone provide a difference / relationship between N-Tier and MVC framework in context of an Asp.net web application.

I found following information about MVC and N-tier on some forums:

1. <B>MVC does not contradict n-tier at all. MVC is a pattern to decouple your UI (presentation layer) from your model (domain layer) </B>. Layering is an approach to decouple subsystems in general (and much more). MVC is basically a recipe to enable proper layering.
This post is taken from : http://bytes.com/topic/asp-net/answers/325679-mvc-v-n-tier

2. <B>Using a MVC pattern does not rule out an n-tier architecture. If your
architecture will benefit the MVC pattern you should use it, but you should
still use business objects, a proper data access layer, service facades and
similar</B>. Microsoft has a powerful MVC implantation in the User Interface
Process (UIP) application block.
This post is taken from : http://bytes.com/topic/asp-net/answers/325679-mvc-v-n-tier

3. At first glance, the three tiers may seem similar to the MVC (Model View Controller) concept; however, topologically they are different. A fundamental rule in a three-tier architecture is the client tier never communicates directly with the data tier; in a three-tier model all communication must pass through the middleware tier. Conceptually the three-tier architecture is linear. However, the MVC architecture is triangular: the View sends updates to the Controller, the Controller updates the Model, and the View gets updated directly from the Model.
This post is taken from : <a>http://stackoverflow.com/questions/698220/mvc-vs-n-tier-architecture</a>

According to first 2 posts, MVC works above Business layer (i.e. its a replacement for presentation layer). Whereas according to 3rd post, MVC itself is a separate architecture that works in triangular way.

Can anyone elaborate whether MVC works in conjunction with 3-Tier architecture to built a web application or can we create a web application using MVC individually.

Thanks!




Responses

#492751    Author: Asheej T K        Member Level: Diamond      Member Rank: 2     Date: 12/Apr/2010   Rating: 2 out of 52 out of 5     Points: 2

You missed below link, Check it out, all your doubts will be cleared...

http://forums.asp.net/p/1020216/1379168.aspx


Regards,
Asheej T K
Microsoft MVP[ASP.NET/IIS]
DotNetSpider MVM

Dotnet Galaxy



 
#492752    Author: SSharma      Member Level: Gold      Member Rank: 321     Date: 12/Apr/2010   Rating: 2 out of 52 out of 5     Points: 2

Thanks Asheej

I will visit to this link shortly.

Regards!



 
#515891    Author: Ashutosh Kuanar      Member Level: Silver      Member Rank: 1307     Date: 12/Jun/2010   Rating: 2 out of 52 out of 5     Points: 2

http://stackoverflow.com/questions/698220/mvc-vs-n-tier-architecture

Thanks and Regards,

Ashutosh Kuanar.






 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Calling asp.net mvc action method using jquery post method expires the session
Previous : Building web application with N-Tier or MVC
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.