Difference: 1. The cs architecture is generally built on a dedicated network, and the bs architecture is built on a wide area network. 2. The cs architecture is generally oriented to a relatively fixed user group and has strong control over information security; the bs architecture has relatively weak control over security and is oriented to an unknown user group.
Related recommendations: "Programming Course"
The difference between CS architecture and BS architecture
Main difference: Client/Server is based on the LAN. Browser/Server is based on the WAN.
1. Different hardware environments
C/S is generally established on a dedicated network, a small-scale network environment, and a dedicated server is used to provide connection and data exchange services between LANs.
B/S is built on the WAN and does not need to be a specialized network hardware environment, such as telephone Internet access, rental equipment, and information management. It has a stronger adaptability than C/S, and generally only needsOperating system and browser will do
2. Different security requirements
C/S is generally oriented to a relatively fixed user group and has strong control over information security. Generally, the C/S structure is suitable for highly confidential information systems. Yes Publish some public information through B/S.
B/S is built on the wide area network, has relatively weak security control capabilities, and is oriented to an unknown user group.
3. Different program architectures
C/S programs can pay more attention to the process, can perform multi-level verification of permissions, and can pay less attention to the system running speed.
B/ S's multiple considerations of security and access speed are based on the need for greater optimization. It has higher requirements than C/S B/S structure's program architecture is The development trend, from MS's .Net series to BizTalk 2000 Exchange 2000, etc., is to fully support the system built by network components. The JavaBean component technology promoted by SUN and IBM has made B/S more mature.
4. Software reuse is different
C/S programs can inevitably consider the overall integrity, and the reusability of components is not as good as the reusability of components under B/S requirements.
The multiple structure of the B/S pair requires components to have relatively independent functions. They can be reused relatively well.
5. System maintenance is different
System maintenance is expensive in the software life cycle, -------important
Due to the integrity of the C/S program, it must Overall inspection, handling of problems and system upgrades. Upgrading is difficult. It may be to build a brand new system composed of
B/S components, and replace individual aspect components to achieve seamless upgrade of the system. System maintenance overhead Minimize it. Users can upgrade by downloading and installing from the Internet.
6. Dealing with different problems
C/S program can handle user plane fixation, and in the same area, high security requirements, related to operating system. Should They are all the same system
B/S is built on the wide area network, facing different user groups and dispersed geographically. This is something that C/S cannot do. With the operating system PlatformMinimum relationship.
7. Different user interfaces
C/S is mostly built on the Window platform, with limited expression methods and generally higher requirements for programmers
B/S is built on the browser , there are richer and more vivid expressions to communicate with users. And most of the difficulties are reduced, reducing development costs.
8. Information flow is different
C/S program is generally a typical centralized mechanical processing with relatively low interactivity
B/S Information flow direction can be changed, B-B B-C The changes in information and flow direction such as B-G are more like a trading center
Extended information :
C/S and B/S each have their own advantages. C/S is definitely better than B/S mode in terms of graphics performance and running speed, but it has shortcomings. It means that it needs to run a special client, and more importantly, it cannot be cross-platform. Programs written in Windows under C will definitely not run under Linux.
The B/S mode is different. It does not require a special client, only a browser, and the browser comes with the operating system, so convenience is its advantage.
Moreover, B/S is based on web language and has nothing to do with the operating system, so cross-platform is also its advantage. And with the advancement of web language and browsers in the future, B/S will improve in performance capabilities. The processing and running speed will become faster and faster, and its shortcomings will become less and less.
For example, future HTML5 is already very powerful in graphics rendering and audio and file processing.
However, the C/S architecture also plays an irreplaceable role.
If you want to read more related articles, please visit PHP Chinese website! !
The above is the detailed content of What is the difference between cs architecture and bs architecture?. For more information, please follow other related articles on the PHP Chinese website!