What is the difference between tier vs layer application?

后端 未结 3 1445
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-16 16:38

Last week I was talking about the 3 tier architecture with my seniors. I was saying that it has a UI tier, Business Logic Tier and Data Access tier. After I have finished, h

相关标签:
3条回答
  • 2020-12-16 17:04

    Your explanation is right: a n-tier architecture is a physical structuring mechanism, while a n-layer architecture is a logical structuring mechanism.

    While is true, for example, that a 3-tier application is (at least) a 3-layer application, a 3-layer application could have only 1 or 2 tier(s).

    You can also look at these articles:

    http://davidhayden.com/blog/dave/archive/2005/07/22/2401.aspx

    http://en.wikipedia.org/wiki/Multitier_architecture

    0 讨论(0)
  • 2020-12-16 17:13

    from wikipedia:

    In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client–server architecture in which the presentation, the application processing, and the data management are logically separate processes

    Tiers vs Layers is both a software and hardware related difference. There's a client-server divide or a logical layering. The boundaries for either concept depend on the responsibilities of each conceptual component of the architecture. For the most wellknown example of layering, see the OSI model.

    0 讨论(0)
  • 2020-12-16 17:29

    Layers are conceptual entities, and are used to separate the functionality of software system from a logical point of view; when you implement the system you organize these layers using different methods; in this condition we refer to them not as layers but as tiers.

    0 讨论(0)
提交回复
热议问题