码迷,mamicode.com
首页 > Web开发 > 详细

What is difference between 3-layer architecture and MVC architecture?

时间:2015-11-04 12:48:12      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:

By Vikas Singh  Sep 26, 2014

In 3-layer architecture 

  • 3-layer architecture separates the application into 3 components which consists of Presentation Layer Business Layer and Data Access Layer.

  • In 3-layer architecture, user interacts with the Presentation layer. 

  • 3-layer is a linear architecture.

In MVC

    • MVC architecture separates the application into three components which consists of Model, View and Controller.

    • In MVC architecture, user interacts with the controller with the help of view. MVC is a triangle architecture.

    • MVC does not replace 3-layer architecture. Typically 3-layer and MVC are used together and MVC acts as the Presentation layer.

What is difference between 3-layer architecture and MVC architecture?

标签:

原文地址:http://www.cnblogs.com/imust2008/p/4935466.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!