“层"和“层"有什么区别?和“等级"? [英] What's the difference between "Layers" and "Tiers"?

查看:42
本文介绍了“层"和“层"有什么区别?和“等级"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

层"和层"有什么区别?

What's the difference between "Layers" and "Tiers"?

推荐答案

逻辑只是一种方式组织你的代码.典型层包括演示文稿、商务和数据 – 与传统相同3 层模型.但是当我们说话的时候关于层,我们只是在谈论代码的逻辑组织.在没有方式是暗示这些层可能在不同的计算机上或在不同的进程在一个计算机或什至在单个进程中在一台计算机上.我们所做的一切正在讨论一种组织方式编码成一组由定义的层具体功能.

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.

来源:Rockford Lhotka,所有应用都应该是 n 层的吗?

这篇关于“层"和“层"有什么区别?和“等级"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆