Logical and Physical Architecture(逻辑和物理架构)

博客介绍了C#应用中逻辑和物理架构的关系,逻辑架构的层级不少于物理架构。合理设计的逻辑n层架构有代码组织合理、易维护等优点,恰当选择的物理n层架构能带来性能、可扩展性等好处,平时谈及的n层应用多为逻辑架构。

Logical and Physical Architecture(逻辑和物理架构)<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

如下关于Logical and Physical Architecture的描述,来自Rockford Lhotka的《Expert C# Business Objects》。这本书不错,博客园blogger柚子Nan介绍过。Thanks.

 

Logical and Physical Architecture

There is a relationship between an application’s logical and physical architectures: The logical architecture always has at least as many tiers as the physical architecture. There may be more logical tiers than physical ones (because one physical tier can contain several logical tiers), but never fewer.

 

A properly designed logical n-tire architecture provides the following benefits:

  • Logically organized code

  • Easier maintenance

  • Better reuse of code

  • Better team development experience

  • Higher clarity in coding

 

On the other hand, a properly chosen physical n-tier architecture can provide the following benefits:

  • Performance

  • Scalability

  • Fault tolerance

  • Security

 

平时我们谈到的n-tier应用程序,大部分指的是Logical Architecture

 

References:

1. Rockford Lhotka, Expert C# Business Objects.

2. CSLA.Net Download, http://www.lhotka.net/Articles.aspx?id=bd7a0904-e76d-48c3-a3ab-a8e9d9645c91

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值