(3-tier).net Architecture和MVC Architetecture有什么区别 [英] What is the difference between (3-tier).net Architecture and mvc archietecture
本文介绍了(3-tier).net Architecture和MVC Architetecture有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
.net体系结构和mvc体系结构的差异是什么?
What is diff b/w the .net Architecture and mvc archietecture?
推荐答案
在Wiki上单击此处 ^ ],这说明了3层架构还说明了与MVC的区别,如下所示.
来自Wiki
-------------------
乍一看,这三个层次似乎与模型-视图-控制器(MVC)概念相似.但是,它们在拓扑结构上是不同的.三层体系结构中的一个基本规则是,客户端层永远不会直接与数据层通信.在三层模型中,所有通信都必须经过中间层.从概念上讲,三层体系结构是线性的.但是,MVC体系结构是三角形的:视图将更新发送到控制器,控制器更新模型,并且视图直接从模型中更新.
从历史的角度来看,三层体系结构概念是在1990年代从对分布式系统(例如Web应用程序)的观察中出现的,在该系统中,客户端,中间件和数据层在物理上独立的平台上运行. MVC来自前十年(由1970年代末和1980年代初在Xerox PARC工作),并且基于对在单个图形工作站上运行的应用程序的观察; MVC在其历史的较晚版本中已应用于分布式应用程序(请参见模型2).
Take a gook at the wiki here Multitier architecture[^], this explains 3 tier architecture also explains the difference with respect to MVC as follows.
from wiki
-------------------
At first glance, the three tiers may seem similar to the model-view-controller (MVC) 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 middle 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.
From a historical perspective the three-tier architecture concept emerged in the 1990s from observations of distributed systems (e.g., web applications) where the client, middle ware and data tiers ran on physically separate platforms. Whereas MVC comes from the previous decade (by work at Xerox PARC in the late 1970s and early 1980s) and is based on observations of applications that ran on a single graphical workstation; MVC was applied to distributed applications later in its history (see Model 2).
这不是一个有效的问题. 苹果和苹果有什么区别?"
阅读两者,就这样:
http://en.wikipedia.org/wiki/Multi-tier_architecture [> http://en.wikipedia.org/wiki/Model–view–controller [ ^ ].
—SA
This is not a valid question. "What is the difference between apple and Apple?"
Read about both, that''s it:
http://en.wikipedia.org/wiki/Multi-tier_architecture[^],
http://en.wikipedia.org/wiki/Model–view–controller[^].
—SA
这篇关于(3-tier).net Architecture和MVC Architetecture有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文