Home > Common Problem > body text

What is three-tier architecture

清浅
Release: 2019-03-09 10:12:01
Original
11228 people have browsed it

The three-tier architecture is a software design pattern and a complete software architecture. It divides the entire business application into three layers: the presentation layer, the business logic layer and the data access layer.

The three-tier architecture is A client-server architecture, which divides the entire business logic into three layers. In the following article, we will introduce the relevant knowledge of the three-layer architecture in detail, which has a certain reference effect. I hope to be helpful.

What is three-tier architecture

[Recommended course: Design Pattern Tutorial]

The meaning of three-tier architecture:

The three-tier architecture is a software design pattern and a complete software architecture, in which functional process logic, data Access, computer data storage and user interfaces can be developed and maintained as independent modules on different platforms.

The three-tier architecture divides the entire business application into the presentation layer, business logic layer and data access layer. The following is their specific role:

  • Presentation layer: The role is to occupy the top layer and display information related to the services available on the website. This layer sends the results to the browser and the network Other layers to communicate with other layers

  • Business logic layer: Also known as the middle layer, this layer is extracted from the presentation layer and it controls application functionality by performing detailed processing

  • Data access layer: The role is to install the database server that stores and retrieves information. The data in this layer has nothing to do with the application server or business logic

A three-tier architecture allows any of the three tiers to be upgraded or replaced independently. The user interface is implemented on a desktop PC and uses a standard graphical user interface, with different modules running on the application server. A relational database management system on a database server contains computer data storage logic. And the middle layer is usually multi-layered

What is three-tier architecture

Advantages and disadvantages of the three-tier architecture

Advantages

(1) Developers can only focus on a certain layer of the entire structure

(2) The structure is clear, the degree of coupling is low, and it is conducive to standardization

(3) It can be very It is easy to replace the original level of implementation with a new implementation;

(4) The structure is clearer, which greatly reduces maintenance costs and maintenance time during later maintenance

Disadvantages

(1) Reduces system performance

(2) May cause cascading modifications

(3) Increases development Cost

What is three-tier architecture

Summary: The above is the entire content of this article, I hope it will be helpful to everyone.

The above is the detailed content of What is three-tier architecture. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template