Home >Backend Development >PHP Tutorial >What is the difference between B/S architecture and C/S architecture?
The differences between B/S architecture and C/S architecture are: B/S architecture has low computer configuration requirements while C/S has high requirements. B/S does not require installation and maintenance, while C/S does. B/S The security performance is low and C/S is high. B/S has relatively good software reuse but C/S does not.
B/S architecture and C/S architecture are two commonly used client server structures. Next In this article, we will introduce the differences between these two architectures in detail, which will serve as a reference and I hope it will be helpful to you.
[Recommended course: PHP Tutorial]
B/S Architecture
The B/S architecture is a browser/server architecture. The browser refers to the web browser that mainly processes a small number of business logic, and the main role of the server is to process business logic. It is composed of a three-tier architecture. It is simple to use and can run directly in a web browser without installation. The client in this architecture contains very little logic
C/S architecture
C/S architecture is a typical two-tier architecture. The whole process is Client/Server, client-server architecture. The client contains one or more servers running on the user. In terms of computer programs, there are two servers: database server and Socket server. The database server mainly connects the client to the server-side data through the database, and the Socket server is used to communicate with the client. In this structure, the client needs to implement business logic and interface to display the most
The difference between B/S architecture and C/S architecture
(1) Client requirements
B/S has low computer configuration requirements, while C/S has high computer configuration requirements
(2) Software installation and maintenance
B/S does not need to install any software or maintain; C/S must install and configure special software and also needs to upgrade and maintain
(3) Security
B/S is built on the WAN, has relatively weak security control capabilities, and is oriented to an unknown user group
C/S is general For a relatively fixed user group, it can perform multi-level verification of permissions, provide a more secure access mode, and has strong control over information security
(4) Software Reusing multiple structures of different
B/S pairs requires relatively independent functions of the components. Relatively good reuse of
C/S programs can inevitably be considered holistically, The reusability of components is not as good as that under B/S requirements.
The above is the detailed content of What is the difference between B/S architecture and C/S architecture?. For more information, please follow other related articles on the PHP Chinese website!