About B/S and C/S (non-original)

The difference between B/S and C/S structure

Concept:
C/S structure, namely Client/Server (client/server) structure, is a well-known software system architecture. By reasonably assigning tasks to Client and Server, the communication overhead of the system is reduced and can be fully utilized Advantages of the hardware environment at both ends. Early software systems mostly used this as the preferred design standard.

The B/S structure, that is, the Browser/Server (browser/server) structure, is a change or improvement of the C/S structure with the rise of Internet technology. Under this structure, the user interface is completely implemented through the WWW browser, and part of the transaction logic is implemented on the front end, but the main transaction logic is implemented on the server side, forming a so-called 3-tier structure. The B/S structure mainly utilizes the ever-mature WWW browser technology, combined with the browser’s multiple Script languages ​​(VBScript, JavaScript...) and ActiveX technology, using a general-purpose browser to realize the original need for complex special software. It has powerful functions and saves development costs. It is a new software system construction technology. With Windows 98/Windows 2000 implanting browser technology inside the operating system, this structure has become the preferred architecture of today's application software.

The difference between C/S and B/S:

Client/Server is built on the basis of the local area network. Browser/Server is built on the basis of the wide area network, but it does not mean that the B/S structure cannot be used on the local area network, such as IPOWER, in the stand-alone, limited network, WAN Both can be used.

1. The hardware environment is different:
C/S is generally built on a dedicated network, a small network environment, and the local area network is connected and data exchange services through a dedicated server.
B/S is built on the WAN, and it does not need to be dedicated Network hardware environment, such as Internet access by telephone, equipment rental. Information self-management. It has a stronger range of adaptation than C/S, generally as long as there is an operating system and a browser.
2. For different security requirements,
C/S must consider the security of both the server and the client.
B/S does not have a client, so it only pays attention to the security of the server.
3.
C/S programs with different program architectures can pay more attention to processes, can check permissions at multiple levels, and can less consider system operation speed. B/S has multiple considerations for security and access speed, based on the need for more optimization. Above. The program architecture with higher requirements than C/S is the development trend of B/S structure. From MS's .Net series of BizTalk 2000 Exchange 2000, etc., it fully supports the system built by network components. SUN and IBM promote JavaBean component technology, etc., make B/S more mature. For example, IPOWER adopts AJAX and data storage optimization technology, which is 30% to 99% faster than general B/S architecture software.
4. Software reuse of different
C/S programs can inevitably be considered as a whole. The reusability of components is not as good as the reusability of components under B/S requirements.
The multiple structure of B/S pairs requires relatively independent functions of components. Can be relatively independent Better reuse. The table just bought can be reused instead of making a stone table on the wall
. System maintenance is different.
System maintenance is in the software life cycle, which is expensive, ------- important
Due to the integrity of the C/S program, it must be investigated as a whole to deal with problems and system upgrades. It is difficult to upgrade. It may be a new system B/S component composition, and individual components are replaced to achieve a seamless system upgrade. System maintenance overhead is reduced to a minimum. Users can download and install them from the Internet to achieve the upgrade.
6.Different
C/S programs can deal with problems with fixed user planes, and in the same area, high security requirements, related to the operating system. It should all be the same system B/S built on the wide area network, facing different user groups, scattered geographically , This is something that C/S cannot do. It has the least relationship with the operating system platform.
7.With different user interfaces,
C/S is mostly built on the Window platform, with limited performance methods, and programmers generally require higher B/S. It is built on the browser, and can be cross-platform through WEB services or other publicly recognizable description languages. flexible. It can be applied not only on the Window platform, but also on platforms such as unix/Linux.
8. Different
C/S programs for information flow are generally a typical centralized mechanical processing, with relatively low interactivity. B/S information flow direction can be changed. The information and flow direction changes such as BB, BC, BG, etc., are more like a trading center.

Advantages and disadvantages of B/S model:


1. The advantages of the B/S structure: (1) It has the characteristics of distribution, and business processing such as query and browsing can be carried out anytime and anywhere.
(2) Service expansion is simple and convenient, and server functions can be increased by adding pages.
(3) The maintenance is simple and convenient. You only need to change the network surface to realize the synchronous update of all users.
(4) Strong
shareability 2. Disadvantages of B/S mode:
(1) The response speed is not as fast as C/S. With the development of AJAX technology, it has doubled the speed compared to traditional B/S structure software.
(2) The user experience is not very satisfactory. B/S requires a separate interface design. The interfaces between manufacturers are also very different. Due to the browser refresh mechanism, there is a phenomenon of screen refreshing during use. Fortunately, AJAX technology solves this problem, like The
user experience effect of B/S architecture software developed by UFIDA and Zhiying is similar to that of C/S.

Advantages and disadvantages of
C/S mode Advantages of C/S mode:
1. Since the client is directly connected to the server, there is no intermediate link, so the response speed is faster.
2. The management information system of C/S structure has strong transaction processing capabilities.
Disadvantages of C/S mode:
1. Only applicable to LAN. With the rapid development of the Internet, mobile office and distributed office are becoming more and more popular, which requires our system to have scalability. Remote access in this way requires specialized technology, and the system must be specially
designed to handle distributed data.
2. The client needs to install special client software. Firstly, it involves the workload of installation, and secondly, any computer problems, such as viruses or hardware damage, need to be installed or maintained. Especially when there are many branches or specialty stores, it
is not a problem of workload, but a problem of distance. In addition, when the system software is upgraded, each client needs to be reinstalled, and its maintenance and upgrade costs are very high.
3. Generally, there are restrictions on the client's operating system. It may be adapted to Win98, but cannot be used in Win2000 or Windows XP. Or it doesn't apply to Microsoft's new operating system, let alone Linux, Unix, etc.

Guess you like

Origin blog.csdn.net/hx_521/article/details/104602507