Analysis of BS and CS Architecture [Repost]

xiaoxiao2021-03-06  40

Today's world science and technology rapid development, especially Internet technology represented by communication, computer, and networks, is more chambered, and it is eye-catching. Due to the development, application of various fields such as politics, economy, life and the rapid spread of the network and the extent to the whole society on the network, computer network has become a national economic foundation and lifeline, which has become a strong power of social and economic development. The status is increasingly important. However, due to mainstream technology research and development enterprises and users who are "B / S" and "C / S" technology who are inferior, who represents the development of technical trends, etc., has been used to use "OA" "to prosecutors. And "case management" software is confused, this article discusses some of these two technological development changes and application prospects for peer references.

First, what is C / S and B / S

If you want to understand the changes of "C / S" and "B / S" technology, we must first understand three issues.

First, what is a C / S structure.

The C / S (Client / Server) structure is a well-known client and server structure. It is a software system architecture that makes full use of the advantages of both ends of hardware environments, and assigns the task reasonably to the Client side and the Server end, reducing the system's communication overhead. At present, most application software systems are two-layer structure in the form of Client / Server. Since the current software application system is being developed to distributed web applications, both Web and Client / Server applications can perform the same business processing, apply different modules. Share logical components; therefore, internal and external users can access new and existing application, and the new application can be extended through logic in existing application. This is the development direction of the current application system.

Although the traditional C / S architecture uses an open mode, this is only openness of the system development, in a particular application, whether it is a Client end or a Server side, there is also a specific software support. Since the user who has not been able to provide the user's truly desired open environment, the software of the C / S structure needs to develop different versions of software for different operating system systems. The update of the product is very fast, and it is difficult to adapt to the above-based local domain network users. . And high cost, low efficiency.

Second, what is the B / S structure.

The B / S (Browser / Server) structure is the browser and server structure. With the rise of Internet technology, it is a variation or improvement of a C / S structure. In this configuration, the user's work interface is implemented through the WWW browser, and the minor partial transaction logic is implemented at the front end, but the main transaction logic is implemented in the server side, forming a so-called three-layer 3-Tier structure. This greatly simplifies the client computer load, reducing the cost and workload of system maintenance and upgrading, reducing the overall cost (TCO) of the user.

From the current technology, the LAN establishes the network application of the B / S structure and is relatively easy to grasp through the database applications in Internet / Intranet mode. It is a one-time development that achieves different people, access and operates common databases from different locations, such as LAN, WAN, Internet / Intranet, etc.); it can effectively protect data platforms And managing access rights, the server database is also safe. Especially after the inter-platform language like Java, B / S architecture management software is more convenient, fast, and efficient.

Third, manage software mainstream technology.

The mainstream technology and management idea of ​​managing software technology have also experienced three periods. First, interface technology from the last century DOS character interface to the Windows graphics interface (or graphical user interface GUI) until there are three different development periods of the Browser browser interface. Second, today's computer browser interface is not only intuitive and easy to use, but more importantly, 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, and software operability Strong, easy to identify; again, the platform architecture also develops from the past users to today's file / server (F / S) system, client / server (C / S) system and browser / server (B / S) system. Comparison of two, C / S and B / S

C / S and B / S are two major mainstream technologies in today's world development model technology. C / S is the earliest research and development of Borland, USA, B / S is R & D in Microsoft, USA. At present, these two technologies have been mastered by countries, and domestic companies have developed products in C / S and B / S technology. Both technologies have their own market share and customer base. All companies say that their management software architecture has powerful, advanced, convenient, and can come to their respective customer groups. There is a large group of literati ink to shake the flag. , The advertisement is full of flying, it can be said that the benevolent see the benevolence, the wise man witnesses.

1, the advantages and disadvantages of C / S architecture software

(1), the application server is running lightly.

The simplest database application consists of two parts, namely the client application and the database server program. Both can be called the front program and the background program, respectively. Run the machine of the database server program, also known as the application server. Once the server program is started, wait for the request to respond to the request from the client; the client application runs on the user's own computer, corresponding to the database server, can be called a customer computer, when you need any operations in the database The client will automatically look for the server program and issue a request, and the server program makes a response according to a predetermined rule, and the result server is running lightly.

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

In database applications, the storage management function of the data is independent of the server program and the client application, and the front desk application can violate the rules, and usually, those different (whether it is known or unknown), in The server program is not centrally implemented, such as the permission of the visitor, the number can be repeated, and there must be a rule such as a set of orders. All of this, for the end user working on the front desk, is "transparent", they do not have to ask (usually unable to interfere) the process behind them, they can complete all their work. In the app applications of the customer server architecture, the front desk is not very "thin", and the trouble is handed over to the servers and networks. Under the C / S system, the database cannot truly be a public, specialized warehouse, which is subject to independent specialization.

(3) The disadvantages of the C / S architecture are high maintenance costs and investment.

First, use the C / S architecture to select the appropriate database platform to realize the real "unity" of the database data, so that the data distributed in two places is fully handed over to the database system, but the operator logical is directly Accessing the same database can be effectively implemented, there is such problems, if you need to build "real-time" data synchronization, you must establish a real-time communication connection between two places, keep the database server online operation, network management staff must Maintenance management of server, but also to client maintenance and management, which requires high investment and complex technical support, high maintenance cost, and large maintenance tasks. Second, traditional C / S structures need to develop different versions of software for different operating system systems, because the product is replaced very fast, high cost and low efficiency have not adapted to work. After the cross-platform language such as Java, the B / S architecture violently shocked C / S and formed a threat and challenge.

2, the advantages and disadvantages of B / S architecture software

(1) Maintenance and upgrading simple.

At present, the improvement and upgrading of software systems are increasingly frequent, and the product of the B / S architecture significantly reflects more convenient features. For a slightly larger unit, system administrators should be known if they need to run back and forth between hundreds or even thousands of computers, but the software of the B / S architecture only needs to manage the server. All clients are just a browser, and there is no need to do any maintenance at all. Regardless of the size of the user, how many branches do not add any maintenance upgrades, all operations only need to be done for the server; if it is a different place, just need to connect the server to the network, implement remote maintenance, upgrade And sharing. Therefore, the client is more and more "thin", and the server is increasing "fat" is the mainstream direction of future information development. In the future, software upgrades and maintenance will become more and more easily, and it will be more and more simple to use, this is an obvious, amazing. Therefore, the way to maintain and upgrade the revolution is the "thin" client, "fat" server.

(2) Cost reduction, choose more.

Everyone knows that Windows is almost uniform in the desktop computer, and the browser has become standard, but Windows on the server operating system is not in an absolute dominance. The current trend is that any application management software using the B / S architecture, just install on the Linux server, and high security. Therefore, the selection of the server operating system is much, regardless of that the operating system can make most people use Windows as a desktop operating system computer unaffected, which makes the most popular Linux operating system rapidly, Linux except The operating system is free, even the database is also free, this choice is very popular.

For example, many people go to "Netease" (original text is a new wave) network every day, as long as the browser is installed, do not need to know what operating system for "Netease" server, but in fact, most of the website is indeed not used. Windows operating system, but most of the user's computer itself is installed in the Windows operating system.

(3) The application server runs more heavy.

Since the B / S architecture management software is only installed on the server side, network managers only need to manage the server, and the main transaction logic of the user interface is fully implemented by the server (Server), very few partial transaction logic. At the front end (Browser), all clients only have browsers, network managers only need to do hardware maintenance. However, the application server runs more data load, and once the server "crash" occurs, the consequences are unimaginable. Therefore, many units are available with a database storage server to prevent in case. 3, C / S and B / S

Client / Server is based on the LAN, Browser / Server is based on a wide area network.

(1) The hardware environment is different:

C / S is typically built on a dedicated network, a small network environment in a small area, and the local area network provides connection and data exchange services through a dedicated server.

B / S is built on the WAN, which is not necessarily a special network hardware environment, such as telephone Internet access, leased equipment, information yourself, there is a stronger adaptation range than C / S, usually as long as there is operating system and browser.

(2) Different from safety requirements

C / S typically facing relatively fixed user groups, which is very controlled for information security. The general highly confidential information system is suitable for the C / S structure, and information can be publicly available via the B / S distribution portion.

B / S is built on a wide area network, which is relatively weak to security, and is an unknown user base.

(3) Different from the programming architecture

The C / S program can be more focusing on the process, and you can check the permissions multi-level check, which can be considered less.

B / S is a multi-purpose consideration of security and accesses, based on the need to be more optimized. A higher requirement of C / S, the program architecture of the B / S structure is a trend of development, from the MS .NET series BizTalk 2000 Exchange 2000, etc., fully supports the network components to build systems. Sun and IBM push JavaBean component technology, etc., make B / S mature.

(4), software is reused

The C / S program can be inevitable integrally, the reuse of the component is not as low as the reuse of the components of B / S.

The multilateral structure of B / S is required to require a relatively independent function. It is possible to reuse relatively good. Just like the bought table can be used again, not doing a stone table on the wall.

(5), system maintenance

System maintenance is in the software survival cycle, the overhead is large, it is quite important

Due to overall performance, the C / S program must be overall, the problem of processing, and the system upgrade is difficult, it may be a new system.

The components of the B / S component component are replaced, and the seamless upgrade of the system is realized. System maintenance overhead minimizes, users can download and install themselves from the Internet.

(6) Different processing problems

The C / S program can handle the user plane, and the needs of the same area, the security requirements, and the operating system should be the same system.

B / S is built on a wide area network, facing different user bases, dispersing the region, which is the unable to do C / S, and the operating system platform is the least.

(7), different user interfaces

C / S is mostly based on the Window platform, the performance method is limited, and the programmer is generally required.

B / S is built on a browser, there is a richer and vivid way to communicate with users, and most difficulty is reduced, and the development cost is reduced. (8) Different information flow

The C / S program is generally a typical centralized mechanical treatment, relatively low interactivity.

B / S information flows to variations, changes in information such as B-B, B-C, B-G, and more like the trading center.

Transfer from:

http://www.cnbruce.com/blog/showlog.asp?cat_id=27&log_id=663

转载请注明原文地址:https://www.9cbs.com/read-60620.html

New Post(0)