The so-called "B / S" refers to the Browser / Server, that is, the client is a standard browser (such as Internet Explore, Netscape Navigator, etc.), the server side is a standard web server collaborative application server response browser request.
The B / S mode is a three-layer structure system. The first layer client is the interface of the user and the entire system. The customer's application is streamlined to a universal browser software such as Netscape Navigator, Microsoft's IE, etc. The browser translates HTML code into a graphic and touched web page. The web also has a certain interaction function that allows the user to enter information on the application form provided by the web page to the background and propose a request request. This background is the second layer of web server. The second layer web server will initiate the corresponding process to respond to this request, and dynamically generate a string HTML code, where the result of the embedding process is returned to the client's browser. If the requests submitted by the client include the data of the data, the web server also needs to work with the database server to complete this processing. The task of the third layer database server is similar to the C / S mode, which is responsible for coordinating the SQ request issued by different web servers, manages the database.
The so-called "C / S" refers to the Client / Server (client / server). The C / S mode is a two-layer structure: the first layer is a combination of representation and business logic on the client system; the second layer is combined with the database server through the network.
First, the interactive is strong is an advantage in the inherent C / S. In C / S, the client has a complete application that has a powerful function in an error prompt, online help, etc., and can freely switch between subroutines. Although B / S provides a certain interaction capability by JavaScript, VBScript, it is too limited compared to a set of customers of C / S.
Second, the C / S mode provides a safer access mode. Since C / S is a structural mode of a pairing point-to-point, a network protocol (for example, NTBEUI protocol) suitable for local area networks, security is adopted, and security can be guaranteed. And B / S uses a point-to-multipoint, multi-point-to-multi-point structure mode, and uses TCP / IP to use the open protocol for Internet, which can only manage passwords on the data server. Database is guaranteed. The key security issues in Internet technology are far unresolved. Encryption and authentication in the information transfer process is the biggest obstacle to key tasks to use Internet technology. This is the main application of the internet technology still stays in public release information. the reason. Modern companies need an open information environment that requires strengthening relationships with the outside world, and some need to develop online marketing business through the Internet, which makes most companies connect their internal network to the Internet. Due to TCP / IP, they must adopt a series of security measures, such as building a firewall to prevent Internet users from stealing the internal information of the enterprise and the intrusion of external viruses.
Again, the C / S mode will reduce network traffic. B / S uses a logical three-layer structure, while physical network structures are still the original Ethernet or ring network. Thus, communication between the first layer and the second layer structure, communication between the second layer and the third layer structure needs to occupy the same network line. There is only two layers of structures, and the network traffic only includes traffic between the Client and Server. Therefore, the ability of C / S handling a lot of information is that B / S cannot match.
Finally, since the C / S is less than the B / S at the Logical Structure, the speed of the C / S completed in the same task is fast than B / S. Make C / S more to handle large amounts of data.
First it simplifies the client. It does not need to install different client applications on different clients like C / S mode, and only install universal browser software. This can save not only the client's hard disk space and memory, but also make the installation process easier. Second, B / S is particularly suitable for online information release. Affected by the HTML language interactive problem, the user interface of the input and output cannot use the pure Internet technology to speculate HTML / HTTP resolution, because the main application of Internet WWW technology is publishing information rather than input and output, "browser" is used for " Browse "instead of terminal input and output! So in order to solve the interactive difference in the browser and HTML pages, the "B / S" version software often uses Microsoft exclusive ActiveX technology in Microsoft, which is actually a client program that is started by the browser.