Difference between 3Tier architecture and MVC [Resolved]

Posted by Rajeshk under ASP.NET on 11/13/2012 | Points: 10 | Views : 34457 | Status : [Member] | Replies : 8
Hi All,

in Both The Cases We separating the code into three layers (Like business logic,datacess layer,presantation layer) then what is he difference between them and in which scenario which approach we follow? An i dont know How to implement the code in Asp.net Using MVC Can anyone please help me to understand thank you

Thanks&Regards
rajeshkommireddy@gmail.com



Responses

Posted by: Sheonarayan on: 11/13/2012 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
Hi Rajesh,

You are right, in both cases we separate the code in different layers however in ASP.NET MVC (Model View Controller), fundamentally the approach is different. There are several resources available on this website so not want to duplicate the content

For ASP.NET MVC, visit http://www.dotnetfunda.com/articles/article1388-how-to-create-a-simple-aspnet-mvc-data-entry-screen-tutorial-no-4.aspx and http://www.fundoovideo.com/collection/asp-net-mvc4-video-tutorials (video tutorials) and for ASP.NET 3-tier (UI, Business Access Layer and Data Access Layer) visit http://www.dotnetfunda.com/articles/article2020-using-ui-bll-and-dal-in-aspnet-3-tier.aspx and http://www.dotnetfunda.com/articles/article71.aspx.

Hope these links will help.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saratvaddilli on: 11/14/2012 [Member] [MVP] Bronze | Points: 50

Up
0
Down

Resolved
If you want more control over the HTML or you want Test Driven Development (TDD), or you care about web standards, accessibility, or you want to build SEO based URLs, you can choose MVC model. If you want rich controls and state oriented event-driven web development, you can choose Web Forms model.

once go through this link , it had good explanation
http://weblogs.asp.net/shijuvarghese/archive/2008/07/09/asp-net-mvc-vs-asp-net-web-form.aspx

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saratvaddilli on: 11/13/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
the simple difference between mvc and three tier is:
in three tier architecture UI Layer(presentation layer) can't access data layer directly , it has to go through the Business Layer it was completely a layered architecture .
MVC : Model view Controller is not a layered approach , the controller will access Model and view .The View then accesses the Model.The Controller ultimately is the logical decision Point

kindly go through this link once
http://allthingscs.blogspot.in/2011/03/mvc-vs-3-tier-pattern.html

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajeshk on: 11/14/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Sir,

The links which you are given that really Helps me Alot to understand MVC ,But A Question arises to me what is the need of MVC instead of 3Tier? Wich is More preferable?

Thanks&Regards
rajeshkommireddy@gmail.com

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajeshk on: 11/14/2012 [Member] Starter | Points: 25

Up
0
Down
Than you sarath you are given One more importent point about Difference Between the MVC and 3-Tier Architectures.

Thanks&Regards
rajeshkommireddy@gmail.com

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajeshk on: 11/14/2012 [Member] Starter | Points: 25

Up
0
Down
Thank you sarath For giving your Assistence to Clear out my Doubt.

Thanks&Regards
rajeshkommireddy@gmail.com

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saratvaddilli on: 11/14/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
you are always welcome and thanks i too learned some thing while surfing your doubt

Thanks and Regards
V.SaratChand
Show difficulties that how difficult you are

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Alliancetekinc on: 10/11/2013 [Member] Starter | Points: 25

Up
0
Down
IN MVC: 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
In Three Tiers: 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 middle tier. IN three-tier model all communication must pass through the middleware tier.
http://www.alliancetek.com/Blog/post/2012/04/02/Why-MVC-for-NET-Development-.aspx

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response