What is difference between 3-layer architecture and MVC architecture?
2015-11-04 11:37
507 查看
By Vikas Singh on 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.
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.
相关文章推荐
- jQuery判断获得的对象是否存在的方法
- 压缩css样式后出现的的ie8下Background图片不显示的问题
- Javascript模块化编程(一):模块的写法
- jQuery ajax - ajax() 方法
- Visual Studio 2013编辑HTML文件无设计视图的解决方案
- [转]jQuery,javascript获得网页的高度和宽度
- Js的Url中传递中文参数乱码,获取Url中参数
- weblogic应用,前端页面无法启动,报找不到页面,重启服务报“Unable to obtain file lock but will retry”的解决办法
- Ember.js 属性值模糊查询
- d3.select
- 从JSP读取配置文件信息
- ReactiveCocoa Weak-Strong Dance
- jQuery操作
- 前台JS excel表格导出
- JS魔法堂:从void 0 === undefined说起
- jsp c:forEach 详解
- 使用jquery+ajax实现页面访问后台接口
- CSS 中文字体的英文名称 (simhei, simsun) 宋体 微软雅黑等
- JavaScript闭包(closure)
- jQuery 控制input及select的应用