3层架构和mvc有什么区别?
它们一样吗?
两者都有 3 层,即模型、 View 和 Controller
最佳答案
与MVC架构的比较
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 [model-view-controller] 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.
来源:http://en.wikipedia.org/wiki/Multitier_architecture#Three-tier_architecture
关于model-view-controller - 三层架构和mvc有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10739914/