C/S architecture

Source: Internet
Author: User

1 c/S structure
c/S (CLIENT/SERVER) structure, known as the client and server structure. Through C/s can fully utilize the advantages of both ends of the hardware environment, the task is reasonably distributed to the client side and server side to achieve, reducing the communication overhead of the system. At present, most application software systems are two-layer structure in C/S form. Because today's software applications are evolving to distributed Web applications, both Web and client/server applications can perform the same business processing and use different modules to share logical components, so both internal and external users have access to new and existing applications. The new application system can be extended by the logic of the existing application system, which is the development direction of the current application system.
Although the traditional C/S architecture adopts the open mode, it is only the openness of the system development level, and the specific software support is also needed in the specific application either client side or server side. Due to the lack of open environment that users really expect, the software of C/s structure needs to develop different versions of software for different operating systems, combined with the rapid replacement of products, it has been difficult to adapt to hundreds of computers over LAN users at the same time, and the cost is high, low efficiency.

2 b/S structure
The b/S (BROWSER/SERVER) structure is the browser and server structure. It is a change or an improved structure of C/s structure with the rise of internet technology. In this structure, the user work interface is implemented by WWW browser, very few transaction logic is implemented in the front-end (Browser), and the main transaction logic is implemented on the server side, which forms the so-called three-layer 3-tier structure. This greatly simplifies the client computer load, reduces the cost and effort of system maintenance and upgrade, and reduces the total cost of users (TCO). Based on the current technology, the network application of B/s structure is established, and the database application by Internet/intranet mode is relatively easy to grasp and the cost is lower. b/S structure is a development in place, can realize different personnel, from different locations, with different access methods (such as LAN, WAN, internet/intranet, etc.) access and operation of the common database; It can effectively protect the data platform and administrative access, the server database is also very secure.
b/s structure is 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, become the preferred architecture of today's application software.
The above is my choice on the network of a relatively refined B/S, c/s introduction.

several key points can be summed up as follows:

C/S mode:
①, take full advantage of the current PC hardware advantages and stability of the network, logical processing to a reasonable share of clients and servers, reduce the burden on the server, but also enable software products to achieve better functionality (especially in visual effects, 3D processing, etc.)
②, update maintenance process needs to upgrade the server, the client at the same time, high cost and low efficiency. (This is also the biggest mishap of this design pattern)
b/S mode:
①, putting a lot of transactional logic work on the server side, and only a few transactional logic on the browser side. This reduces the hardware requirements for the front-end computer.
②, due to the improvement of the relevant standards, B/S model more in line with the requirements of industrial large-scale production. Users can browse any Web site by installing a browser on their computer. This is the C/s mode can not do.
③, too standardized b/s front-end, the same can be understood to become too rigid, which directly led to the B/s mode of functional implementation without C/s flexible, convenient, beautiful. Some of today's script technologies and Ajax technologies have largely eased the problem. But with some 3D network games and so on in the aesthetic angle is still incomparable.

Is it possible to find a balance between the two?
Then in the above two models to introduce a now more popular term-"cloud computing", then what kind of game?
Look at the world we have now:
1, more and more fast, more and more stable network transmission speed
2. Smartphones are becoming more and more like personal computers
3, the rapid expansion of the number of network users

C/S architecture

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.