Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

N-Tiered vs N-Layered architecture/design [closed]

Tags:

layered

What does it mean by N-Tiered and N-Layered architecture/design?

Is there any difference between N-Tiered and N-Layered architecture/design?

If yes, what is the difference?

like image 805
user366312 Avatar asked Jul 25 '09 15:07

user366312


People also ask

How does an n-tier architecture differ from a layered architecture?

N refers to # of tiers or # of layers in ArchitectureLayers 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.

What is an N Tier architectural style?

An N-tier architecture divides an application into logical layers and physical tiers. Layers are a way to separate responsibilities and manage dependencies. Each layer has a specific responsibility. A higher layer can use services in a lower layer, but not the other way around.

What is difference between N tier and 3-tier architecture?

In 3 Tier Application there are three tiers like Presentation Layer , Application Layer and Data layer. Here the application layer contains business logic as well . On the other hand in N Tier Application layer is divided into 2 i.e. Application Layer and Business Logic layer.


1 Answers

People often use the two terms interchangably in that they can describe an architecture as being both multi-layered and multi-tiered. My take on it is that generally a tier refers to some physical separation while a layer is more of a logical separation.

For example, a typical web application I would say has a front end - what's displayed in the browser - and the actual application logic running on the application server, and a database. This could be referred to as 3 tiered, since there is a database server, an application server and the client machine. Just as easily, however, one may refer to the database layer, the logic layer and the presentation (or UI) layer.

like image 100
IRBMe Avatar answered Feb 04 '23 05:02

IRBMe