The difference between B/S and C/s

Source: Internet
Author: User
Tags dedicated server

A period of time has ended the B/S study, began the C/s journey, then why we have to learn these two, what is the difference between these two? How much do you know about these differences?

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 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.

Bs/cs

C

b/S

Hardware environment

LAN, dedicated server

WAN, no specialized hardware environment

Safety Requirements

Server side, Client

Focus on service-side security only

Program Architecture

Multiple considerations for security and access speed

Focus on the process, less on the speed of operation

Software Reuse

The unavoidable multiplicity of considerations

Requires component independent function, can be better reused

System Maintenance

Because of the overall consideration, the upgrade is difficult, may make a new system

Component components for easy replacement and minimal system maintenance overhead

Dealing with problems

Handle the user face fixed, the same system

For different user groups, geographically dispersed, with minimal operating system relationships

User interface

Built on the Windows platform with limited performance and high requirements for programmers

Built on a browser that can be cross-platform and not only applied on Windows platforms

Flow

Typical centralized mechanical processing with relatively low interactivity

Information flow can change, b-b b-c b-g and other information flow changes, more like the trading center

Disadvantages of B/S mode

1. Response speed is less than C/S, with the development of Ajax technology, compared to the traditional B/s structure software to improve the speed.

2. User experience is not ideal, b/s need a separate interface design, the interface between manufacturers is also very diverse, due to the browser refresh mechanism, the use of brush screen phenomenon, the Ajax technology to solve this problem, such as UF, Smart win and other development of B/s Architecture software user experience effect and C/s similar.

Disadvantages of C/s mode

1. Applicable to LAN only. With the rapid development of the Internet, mobile office and distributed office is becoming more and more popular, which requires the expansion of our system. Remote access in this way requires specialized technology, and the system is designed specifically to handle distributed data.

2. The client needs to install the dedicated client software. First of all, the workload of the installation, and then any computer problems, such as viruses, hardware damage, need to install or maintenance. In particular, there are many branches or stores of the situation, not the problem of workload, but the problem of distance. Also, when the system software is upgraded, each client needs to be reinstalled and its maintenance and upgrade costs are very high.

Both have advantages and disadvantages, so we can choose different models according to our own needs, instead of eliminating the other side.

The difference between B/S and C/s

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.