计算机软件领域中Layer 与 Tier(不是tire) 的区别

在计算机软件领域,LayerTier都有的意思,翻译为中文,也都是。但根据MSDN上的文章所述,这两个词的具体所指还是有区别的,一般认为,Layer指逻辑层,如我们通常据说的三层架构UI(or Presentation) Layer, Business Logic LayerData Access Layer。而tier指物理层。然而,也有不遵循这个规则的,如Business TierData Access Tier,当然,这样写的人可能说的是业务层(Business Tier)代码与数据访问层(Data Access Tier)代码在不同的物理位置。

下面是摘自Developer's Guide to EnterpriseLibrary 5 RC文档中第75页的一段话:

For simplicity, this example shows the principles of exception shielding at the level of the UI view.

The business functionality it uses may be in the same layer, in a separate business layer, or even on

a separate physical tier. Remember that you should design and implement an exception handling

strategy for individual layers or  tiers in order to shield exceptions on the layer or service

boundaries.

 

下面是摘自EntLib50-combined(chm格式)文档中What Does the Exception Handling Application Block Do?

节:

This pattern ensures that your application does not leak sensitive information, no matter what run-time
or system event may
occur to interrupt normal operation. And on a more granular level, it can prevent your
assets from being revealed across layer,tier,process, or service boundaries.

  

         来自en.wikipedia.org:     
      
A layer is a   logical       structuring mechanism for the elements that make up your software solution;
         A tier is a     physical     structuring mechanism for the system infrastructure

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值