Logical and Physical Architecture(逻辑和物理架构)
如下关于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