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.

[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

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

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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Dreamweaver Mac version
Visual web development tools

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 English version
Recommended: Win version, supports code prompts!

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),





