BS and CS

Source: Internet
Author: User

b/S architecture is the browser and server structure browser can be said that thin clients do not need to install any software because all the operations and interfaces are immediately available from the server that is, when the system needs to be updated, there is no need to publish any patches, this architecture adds operational burden to the server is generally used for enterprise-level development. C/S architecture is the client and server, such as the game, such as games, the burden of data is mainly added to the user's host and server to do data communication needs to write two systems a client one server side and have updates must be released patches to all client installation

(CLIENT/SERVER) structure, known as the client and server architecture. It is a software system architecture, which can make full use of the advantages of both ends of the hardware environment, the task is reasonably distributed to the client side and server side to achieve, reducing the communication overhead of the system. At present, most of the application software systems are two-layer structure in client/server form, because the current software application system is developing to distributed Web application, both Web and client/server applications can do the same business processing and use different modules to share the logical components; Both internal and external users have access to new and existing applications, and new applications can be extended through the logic of existing applications. This is the current application system development direction.

Although the traditional C/S architecture adopts the open mode, it is only the openness of the system development level, and the specific software support is also needed in the specific application either client side or server side. Due to the lack of a user's real expectations of the open environment, C/s structure of software needs for different operating system systems to develop different versions of the software, coupled with the rapid upgrading of products, has been difficult to adapt to hundreds of computers over LAN users at the same time. And the cost is high and the efficiency is low.

The b/S (BROWSER/SERVER) structure is the browser and server structure. It is a change or an improved structure of C/s structure with the rise of internet technology. In this structure, the user interface is implemented by the WWW browser, very few transaction logic in the front-end (Browser) implementation, but the main transaction logic in the server-side (server) implementation, the formation of the so-called three-layer 3-tier structure. This greatly simplifies the client computer load, reduces the cost and effort of system maintenance and upgrade, and reduces the total cost of users (TCO).

Management software mainstream technology.

The mainstream technology of management software technology and management thought, also experienced three period of development. First, the interface technology from the last century DOS character interface to the Windows graphical interface (or GUI), until the browser browser interface three different development period. Second, today all the Computer browser interface, not only intuitive and easy to use, but also the main browser-based platform of any application software its style is the same, the user's requirements for operational training is not high, and the software is highly operational and easy to identify; Furthermore, the platform architecture has evolved from the past single user to today's file/ Server (F/S) system, client/server (c/s) system and browser/server (b/s) system.

Ii. Comparison of c/S and b/s

c/S and b/s are the two main mainstream technologies for the development model technology architecture in the world today. C/S is the first U.S. Borland company Research and Development, b/S is the United States Microsoft Research and development. At present, these two technologies to be mastered by the countries around the world, domestic companies to C/s and B + + technology to develop a wide range of products. Both of these technologies have their own market share and customer base, each enterprise said that their management software architecture technology powerful, advanced, convenient, can cite their respective customer groups, there is a large group of literati for their own banner, advertising flying everywhere, can be regarded as the benevolent see.

1. The advantages and disadvantages of C/s architecture software

(1), application server running data load lighter.

The simplest database application of the C/S architecture consists of two parts, the client application and the database server program. The two can be called foreground program and background program, respectively. The machine running the database server program, also known as the application server. Once the server program is started, it waits to respond to requests from the client, and the client application runs on the user's own computer, corresponding to the database server, which can be called a client computer, and when any action is required on the data in the database, the client automatically looks for the server program and makes a request to it. The server program responds to the predetermined rules, sending back the results, and the application server is running with less data load.

(2), the data storage management function is more transparent.

In the database application, the storage management function of the data is carried out independently by the server program and the customer application, the foreground application can violate the rules, and usually the different (both known and unknown) running data, in the server program is not centralized implementation, such as the visitor's permissions, the number can be repeated, You must have a customer to establish a rule like an order. All of this is "transparent" to the end users who work in the foreground, and they can do all their work without having to ask (and usually can't interfere) with the process behind them. In the application of the client server architecture, the foreground program is not very "thin", the troublesome things are given to the server and the network. Under the C/s system, the database can not really become a public, professional warehouse, it is independent of the special management.

(3), the disadvantage of C/s architecture is high maintenance costs and large investment.

First, the use of C/S architecture, to select the appropriate database platform to achieve true "unity" of database data, so that the distribution of data synchronization between the two places is completely managed by the database system, but the logic of the two operators to directly access the same database can be effectively implemented, there are some problems, if need to establish "real-time" Data synchronization, it is necessary to establish a real-time communication connection between the two places, to keep the database server online operation, network management staff both to server maintenance management, but also to the client maintenance and management, which requires high investment and complex technical support, maintenance costs are high, maintenance tasks are large. Secondly, the traditional C/s structure software needs to develop different versions of software for different operating system systems, because of the rapid upgrading of products, high cost and low efficiency have not adapted to the work needs. After the emergence of a cross-platform language such as Java, the B/s architecture is a fierce impact on C/s, and it forms a threat and challenge.

2, b/s architecture software advantages and disadvantages

(1), maintenance and upgrade method is simple.

At present, the improvement and upgrading of software system is more and more frequent, and b/s structure products clearly embodies more convenient characteristics. For a slightly larger unit, if the system managers need to run back and forth between hundreds of or even thousands computers, the efficiency and workload is conceivable, but B/s architecture of the software only need to manage the server on the line, all the client is just a browser, there is no need to do any maintenance. Regardless of the size of the user, how many branches will not increase any maintenance upgrade workload, all operations only need to be done for the server, if it is off-site, only need to connect the server to a private network, to achieve remote maintenance, upgrade and sharing. So the client more and more "thin", and the server more and more "fat" is the mainstream direction of information development in the future. In the future, software upgrade and maintenance will be more and more easy, and the use will be more and more simple, this to users of human, material, time, cost savings is obvious, amazing. Therefore, the way to maintain and upgrade the revolution is "thin" client, "fat" server.

(2), cost reduction, choose more.

As you all know, Windows is almost eminence on desktop computers, browsers become standard, but Windows is not in absolute dominance on server operating systems. Now the trend is to use the B/s Architecture Application management software, just installed on the Linux server, and high security. So the choice of server operating system is many, regardless of the use of that operating system can make most people using Windows as a desktop operating system PC is not affected, which makes the most popular free Linux operating system quickly developed, Linux in addition to the operating system is free of charge, Even the database is free, and this choice is very popular.

(3), the application server running data load is heavier.

Because b/s architecture management software is only installed on the server side (server), network managers only need to manage the server on the line, the user interface of the main transaction logic on the server side completely through the WWW browser implementation, very few transaction logic in the front-end (Browser) implementation, All clients are only browsers, and network administrators only need to do hardware maintenance. However, the application server is running a heavy load of data, once the server "crashes" and other issues, the consequences are unimaginable. Therefore, many units have a database storage server, just in case.

For example, some chat software, is the C/s structure because to meet the maintenance and upgrading of the software, to meet the personality and preferences of different groups of people, their own interface, install their favorite plug-in, but in B/s structure to achieve this is more difficult, and scalability is not good. For example, many people on the Sina network every day, as long as the browser is installed, do not need to know what the Sina server operating system, and in fact, most of the site does not use the Windows operating system, but the user's computer itself is installed mostly Windows operating system.

Software system improvements and upgrades more and more frequent, b/s structure of the product clearly embodies the more convenient characteristics. Regardless of the size of the user, how many branches will not increase any maintenance upgrade workload, all operations only need to do for the server, if it is offsite only to the server connected to the Internet can be immediately maintenance and upgrade, which the manpower, time, cost savings is quite amazing.

A slightly larger unit, if the system managers need to run back and forth between hundreds of or even thousands of computers, efficiency and workload is conceivable, but B/s architecture of the software only need to manage the server on the line, all the client is just a browser, there is no need to do any maintenance. So the client more and more "thin" and the server more and more "fat" is the future of the mainstream development of software, which makes upgrading and maintenance more and more easy to use more and more simple.

Article from "IT168 Technical Articles"

For the last said, I fastidiously, in fact, the current C/s can be completely seamless upgrade system, B/s architecture many times also have to maintain the client, because customers often get internet ie to bad. As mentioned in this article many times or the C/s architecture is convenient, is it necessary to use B/s architecture or need to do according to the actual situation, do not blindly follow the trend.

BS and CS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.