The difference between C/s and b/s

Source: Internet
Author: User
Tags dedicated server

Thank you: http://www.cnblogs.com/xiaoshuai/archive/2010/05/25/1743741.html

c/S structure, that is, client/server (client/server) structure, is well-known software system architecture, through the rational allocation of tasks to the client side and server side, reduce the communication overhead of the system, can make full use of the advantages of both ends of the hardware environment. Early software systems used this as the preferred design standard.


b/s structure, that is, Browser/server (browser/server) structure, with the rise of internet technology, a change of C/s structure or improved structure. In this structure, the user interface is implemented completely through WWW browser, some transaction logic is implemented at the front end, but the main transaction logic is implemented on the server side to form the so-called 3-tier structure. b/s structure, mainly using the continuous mature WWW browser technology, combined with the browser of a variety of script language (VBScript, JavaScript ...) and ActiveX technology, with the common browser to achieve the original need for complex special software to achieve the powerful features, and save the development cost, is a new software system construction technology. With Windows 98/windows 2000 embedding Browser technology inside the operating system, this structure becomes the preferred architecture for today's application software.

c/S and b/s difference:
Client/server is built on the basis of the local area network. Browser/server is built on the basis of the WAN .
1. Different hardware environments:
c/S is generally established in a dedicated network, a small range of network environment, LAN and then through a dedicated server to provide connectivity and data exchange services.
b/S is built on the WAN, do not need to be specialized network hardware environment, example and telephone Internet, rental equipment. Information self-management. There is more than C/s to adapt to the range, generally as long as the operating system and browser on the line
2. Different for security requirements
c/S generally oriented to a relatively fixed user base, the control of information security is very strong. Generally highly confidential information system using C/s structure is suitable. Can be published through the B/s part of the public information.
b/S is built on the wide area network, the security control ability is relatively weak, facing is an unknown user group.
3. Different from the program architecture
c/S program can pay more attention to the process, the authority can be multi-level check, the system running speed can be less considered.
b/S multiple considerations for security and access speed are based on the need for more optimization. Higher requirements than C/s structure The program architecture of B/s architecture is the trend of development, from the MS of the. NET series of BizTalk Exchange 2000, etc., fully support the network components Built system. SUN and IBM push the JavaBean component technology, so that b/s more mature.
4. Software reuse is different
c/S program can inevitably be considered as a whole, the reuse of components is not as good as the reuse of components under B/s requirements.
the multi-structure of B/s pair requires the relative independent function of the component. Can be reused relatively well. The table you bought is reusable, not a stone table on the wall .
5. System maintenance is different
system maintenance is the software life cycle, the cost is big,-------important
due to the integrity of the C/s program, it is necessary to investigate the problem and upgrade the system. The upgrade is difficult. Maybe it's a whole new system .
b/S components, components of the individual replacement, to achieve a seamless upgrade of the system. System maintenance overhead is minimized. Users can upgrade by downloading and installing themselves from the Internet .
6. Handling problems differently
c/S program can handle the user face fixed, and in the same area, security requirements of high demand, operating system-related. It should be the same system.
b/S is built on the wide area network, facing different user groups, dispersed area, this is the C/s can not be done. Minimal relationship to the operating system platform.
7. User interface is different
c/S is established window platform, the performance method is limited, the programmer generally requires higher
b/s based on the browser, there is a richer and more vivid way to communicate with users. And most of the difficulty is reduced, reducing development costs.
8. Different information flow
c/S program is typically a centralized mechanical processing, the interaction is relatively low
b/S information flow can change, b-b b-c b-g and other information, flow changes, more like the trading center

(turn) c/S and b/s difference

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.