First, what is the C/S structure.
The C/S (Client/Server) structure is a well-known client and server structure. It is a software system architecture. It can take full advantage of the advantages of both ends of the hardware environment, and assign tasks to the client and server, thus reducing the communication overhead of the system. Currently, most Application Software Systems
Because the current software application system is developing towards distributed Web applications, both web and client/server applications can perform the same business processing, different modules of applications share logical components. Therefore, both internal and external users can access new and existing application systems, and new application systems can be extended through the logic in the existing application systems. This is the current development direction of application systems.
Although the traditional C/S architecture adopts an open mode, it is only an open level for system development, in a specific application, either the client or the server also requires specific software support. Due to the failure to provide an open environment that users really expect, C/S-structured software needs to develop different versions of software for different operating system systems. In addition, the product is updated rapidly, it is difficult to adapt to the simultaneous use of LAN users with more than computers. The cost is high and the efficiency is low.
2. What is the B/S structure.
The Browser/Server structure is the browser and server structure. It is followed
The rise of internet technology represents a change or improvement in the C/S structure. In this structure, the user's working interface is implemented through the WWW browser, and a few transaction logics are implemented at the front-end.
(Browser) implementation, but the main transaction logic is implemented on the server, forming a layer-3 3-tier structure. This greatly simplifies the Client Computer load, reduces the cost and workload of system maintenance and upgrade, and reduces the overall cost (TCO) of users ).
According to the current technology, the LAN should establish a B/S network structure
And database applications in Internet/Intranet mode, which is relatively easy to grasp and low cost. It is a one-time development in place, which can implement different personnel from different places
Point, access and operate a common database in different access modes (such as lan, Wan, Internet/Intranet, etc.); it can effectively protect the data platform and manage access permissions, Server
The server database is also safe. Especially after the emergence of cross-platform languages such as Java, the B/S architecture management software is more convenient, fast and efficient.
Third, manage mainstream software technologies.
The mainstream technology of management software technology is the same as that of management thought. It also experienced three stages of development. First, the interface technology from the DOS character interface of the century to the Windows graphical interface (or graphical user interface GUI), until the browser interface has three different development periods. Secondly, all computers today
The browser interface is intuitive and easy to use. What's more, the style of any application software based on the browser platform is the same, and the user's requirements for operation training are not high, the software is highly operable and easy to recognize.
Furthermore, the platform architecture has evolved from single-user to file/server (F/s) and Client/Server (C/S) system and browser/server (B/S) system.
Ii. Comparison between C/S and B/S
C/S and B/S are two mainstream technologies in today's world development model technical architecture. C/S is a Borland Company in the United States.
The earliest R & D, B/S is developed by Microsoft. Currently, these two technologies have been mastered by countries around the world, and many domestic companies develop products using C/S and B/S technologies. Both of these technologies have their own city
Each company said that their management software architecture technology is powerful, advanced, and convenient, and they can cite their own customer groups. A large group of scholars shouted for themselves, the advertisement is everywhere.
The benevolent sees benevolence, and the wise sees wisdom.
1. Advantages and Disadvantages of C/S architecture software
(1) The data load on the application server is light.
The simplest C/S architecture consists of two parts: the customer application and the database server program. The two can be called foreground programs and background programs respectively. The machine that runs the database server program, also known as the application server. Once a server program is started, it waits for a response from the client program. The client application runs on the user's computer and corresponds to the database server, which can be called the customer's computer, when you need to perform any operations on the data in the database, the client automatically searches for the server program and sends a request to it. The server program responds to the request according to the predefined rules and returns the result, the data load on the application server is light.
(2) transparent data storage and management functions.
In database applications, data storage and management functions are performed independently by server programs and customer applications. Front-end applications can violate the rules, in addition, different (whether known or unknown) running data is usually not centrally implemented in the server program, such as the visitor's permissions, numbers can be repeated, and customers must have orders. All of these are the processes behind the transparent and transparent background of end users working on the front-end program, you can complete all your work. In the application of the customer's server architecture, the front-end program is not very small & #8220; thin & #8221;, and all the troublesome things are handed over to the server and network. Under the C/S system, databases cannot truly become public and professional warehouses, and they are managed independently and specially.
(3) the disadvantage of the C/S architecture is high maintenance costs and high investment.
First, adopt the C/S architecture and select an appropriate database platform to implement true Database Data & #8220; unification & #8221 ;, the synchronization of data distributed in two locations is completely managed by the database system. However, operators in two locations can access the same database logically, if you need to synchronize & #8220; real-time & #8221; Data, you must establish a real-time communication connection between the two locations to keep the database servers in the two locations running online, network management personnel must maintain and manage servers and clients. This requires high investment and complex technical support, high maintenance costs, and a large number of maintenance tasks.
Secondly, the traditional C/S structure software needs to develop different versions of software for different operating system systems. Because the product is updated rapidly, the 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 severely impacted C/S and posed threats and challenges to it.
2. Advantages and Disadvantages of B/S architecture software
(1) Easy maintenance and upgrade methods.
At present, software systems are being improved and upgraded more and more frequently. The B/S architecture products are obviously more convenient. For a slightly larger unit, if the system administrator needs to run back and forth between hundreds or even thousands of computers, the efficiency and workload can be imagined, however, B/S architecture software only needs to manage the server. All clients are only browsers and no maintenance is required. No matter how large a user is, the number of branches does not increase the workload of maintenance and upgrade. All operations only need to be performed on the server. If the operation is performed remotely, you only need to connect the server to the private network for remote maintenance, upgrade, and sharing. As a result, clients are becoming increasingly thin and thin, while servers are becoming more and more fat and are becoming the mainstream direction of future information development. In the future, software upgrades and maintenance will become easier and easier to use, which significantly saves manpower, material resources, time, and costs for users. Therefore, the ways to maintain and upgrade the revolution are as follows: & #8220; thin & #8221; client, & #8220; fat & #8221; server.
(2) reduce costs and choose more.
As we all know, Windows is almost unified on desktop computers, and browsers have become standard configurations. However, windows is not absolutely dominant in server operating systems. The current trend is that all applications using B/S architecture can be installed on Linux servers with high security. Therefore, there are many server operating systems. No matter which operating system is used, most people can use Windows as the desktop operating system and the computer will not be affected, in this way, the most popular free Linux operating system has developed rapidly. In addition to the free operating system, the Linux database is also free of charge, which is a popular choice.
For example, a lot of people go to the Internet every day & #8220; Netease & #8221; (originally published on Sina), as long as a browser is installed, no need to know & #8220; netease & #8221; what operating system does the server use? In fact, most websites do not use the Windows operating system, but most of users' computers are installed on Windows.
(3) load of application server running data is heavy.
Because the B/S architecture management software is only installed on the server, the network administrator only needs to manage the server. The main transaction logic of the user interface is on the server) the client is fully implemented through the WWW browser, and a few transaction logics are implemented on the browser. All clients only have browsers, and network administrators only need to perform hardware maintenance. However, the data load on the application server is heavy. If the server crashes, the consequences are unimaginable. Therefore, many organizations have database storage servers, just in case.
3. Differences between C/S and B/S
Client/Server is built on the LAN, and browser/server is built on the WAN.
(1) different hardware environments: c/s is generally built on a dedicated network. In a small range of network environments, local area networks are connected and data exchange services are provided through dedicated servers.
B/S is built on a wide area network and does not need to be a dedicated network hardware environment, such as telephone Internet access, device rental, and information management. It has a stronger adaptability than C/S, generally, you only need an operating system and a browser.
(2) Different security requirements
C/s is generally oriented to relatively fixed user groups and has strong information security control capabilities. Generally, a highly confidential information system adopts a C/S structure and can publish some public information through B/S.
B/S is built on a wide area network and has relatively weak security control capabilities. It is intended for unknown user groups.
(3) Different program Architectures
The C/S program can focus more on processes, perform multi-level permission verification, and minimize the system running speed.
B/S's multiple considerations for security and access speed are based on the need for more optimization. Higher requirements than C/S, B/S structure of the program architecture is the development trend, from Ms. Net series biztalk2000exchange2000, etc., fully support the network component building system. The JavaBean Component Technology pushed by Sun and IBM makes B/S more mature.
(4) different software reuse
The reusability of components is not as good as that of components under B/S requirements.
The multiple structures of B/S pairs require relatively independent components. Relatively good reuse. Just like a table you bought can be reused, rather than a stone table on the wall.
(5) Different system maintenance
System maintenance is an important part of the software life cycle with high overhead.
Due to the integrity of the C/S program, it is necessary to make an overall investigation to solve problems and make system upgrades difficult. It may be necessary to create a new system.
The components of B/S are replaced individually to achieve seamless system upgrade. The system maintenance overhead is minimized, and users can download and install it on the Internet.
(6) handling different problems
The c/s program can handle fixed user surfaces and meet high security requirements in the same region. It should be the same system as the operating system.
B/S is built on the Wide Area Network. It targets different user groups and is scattered across regions. This is what C/S cannot do and has the least relationship with the operating system platform.
(7) different user interfaces
C/s is mostly built on the window platform, with limited performance methods and high requirements on programmers.
B/S is built on a browser, which provides richer and more vivid expressions to communicate with users. In addition, it reduces most of the difficulty and reduces development costs.
(8) different information flows
C/S programs are generally typical centralized mechanical processing with relatively low interaction.
B/S information flow to change, B-B, B-C, B-G and other information flow to change, more like the transaction center.