什么是之间和QUOT的差异;层"和"层级"? [英] What's the difference between "Layers" and "Tiers"?
问题描述
有什么层次和层级?
之间的区别
逻辑层只是一个方式
举办code。典型的层
包括presentation,商业和
数据 - 一样的传统
3层模型。但是,当我们谈论
有关图层,我们只谈论
code的逻辑组织。在任何
方式是它意味着这些层
可能在不同的计算机或运行
在一个不同的过程
计算机或者甚至在一个单一的过程
一台计算机上。所有我们正在做的
正在讨论举办的一种方式
code到由定义了一组层
特定的功能。
物理层级然而,只有约
其中code运行。特别,
层在哪里层的地方
部署并在层上运行。在
换句话说,层是物理
部署层。
块引用>的来源:罗克福德Lhotka,如果所有的应用程序是N层 的<? / p>
What's the difference between "Layers" and "Tiers"?
解决方案Logical layers are merely a way of organizing your code. Typical layers include Presentation, Business and Data – the same as the traditional 3-tier model. But when we’re talking about layers, we’re only talking about logical organization of code. In no way is it implied that these layers might run on different computers or in different processes on a single computer or even in a single process on a single computer. All we are doing is discussing a way of organizing a code into a set of layers defined by specific function.
Physical tiers however, are only about where the code runs. Specifically, tiers are places where layers are deployed and where layers run. In other words, tiers are the physical deployment of layers.
Source: Rockford Lhotka, Should all apps be n-tier?
这篇关于什么是之间和QUOT的差异;层&QUOT;和&QUOT;层级&QUOT;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!