Multitier architecture

A 3-tier application is an application program that is organized into three major parts, comprising of data access layer tier at the bottom, the application tier (business logic) in the middle and the client tier (Presentation) at the top and each tier is distributed to a different place or places in a network. These tiers do not necessarily correspond to physical locations on various computers on a network, but rather to logical layers of the application.

1. Presentation Layer (UI)

2. Business Logic Layer

3. Data Access Layer

Presentation Layer (UI)

This layer presents data to the user and optionally permits data manipulation and data entry, also this layer requests the data form Business layer. This layer accomplished through use of Dynamic HTML and client-side data sources and data cursors.

Business Logic Layer

The business logic acts as the server for client requests from workstations. It acts according Business rules fetch or insert data through the Data Layer. In turn, it determines what data is needed (and where it is located) and acts as a client in relation to a third tier of programming that might be located on a local or mainframe computer. Because these middle-tier components are not tied to a specific client, they can be used by all applications and can be moved to different locations, as response time and other rules require.

Data Access Layer

The third tier of the 3-tier system is made up of the DBMS that provides all of the data for the above two layers. This is the actual DBMS access layer. Avoiding dependencies on the storage mechanisms allows for updates or changes without the application tier clients being affected by or even aware of the change.

Explain the different tiers of 2 tier and 3 tier architecture

2 tier and 3 tier architecture

The advantage of a three-tier application over a two-tier application is the added modularity. This allows for the replacement of any tier without affecting the other tiers and the separation of business-related functions from database-related functions. During an application's life cycle, the three-tier approach provides benefits such as reusability, flexibility, manageability, maintainability, and scalability.

What is N-Tier architecture?

2 tier and 3 tier architecture

N-tier data applications are data applications that are separated into multiple layers (tiers). Also called "distributed applications" and "multilayer applications," n-tier applications separate processing into discrete tiers that are distributed between the client and the server. When you develop applications that access data, you should have a clear separation between the various tiers that make up the application.

NEXT.....What Is an API