当前位置:网站首页>Appium automation test foundation -- supplement: c/s architecture and b/s architecture description
Appium automation test foundation -- supplement: c/s architecture and b/s architecture description
2022-07-01 03:38:00 【Test - Eight Precepts】
1、C/S The architecture and B/S Architecture concept
(1)C/S framework
C/S Architecture is Client/Server( The client / The server ) structure , Is a well-known software system architecture .
By properly assigning tasks to Client End sum Server End , Reduce the communication cost of the system , We can make full use of the advantages of both hardware environments .
Early software systems used this as the preferred design standard .
(2)B/S framework
B/S Architecture is Browser/Server( browser / The server ) structure , With Internet The rise of Technology , Yes C/S A change or improved structure of architecture .
Under this structure , The user interface is completely through WWW Browser implementation , Part of the transaction logic is implemented in the front end , But the main transaction logic is implemented on the server side , Form what is called Three layer architecture structure .
B/S The architecture mainly utilizes the WWW Browser technology , Combined with a variety of browser Script Language (VBScript、JavaScript…) and ActiveX technology , With a general browser to achieve the original need for complex special software to achieve a powerful function , And save the development cost , Is a new software system construction technology .
B/S Architecture has become the preferred architecture of today's application software .
2、C/S Structure and B/S The difference in Architecture :
Client/Server It's based on LAN .Browser/Server It's based on the wan .
- The hardware environment is different ::
C/S The architecture is usually built on a dedicated network , Small scale network environment , The LAN provides connection and data exchange services through special servers .
B/S The architecture is based on the WAN ,, It doesn't have to be a dedicated network hardware environment , And information is managed by itself . Than C/S The architecture has a stronger adaptability , Generally, as long as there is an operating system and a browser . - Different safety requirements :
C/S The architecture is generally oriented to relatively fixed user groups , Strong control over information security . General highly confidential information system adopts C/S Appropriate architecture , Can pass B/S The architecture release part can disclose information .
B/S The architecture is built on the wan , The ability to control security is relatively weak , Facing the unknown user group . - Different program architecture :
C/S Architected programs can be more process oriented , You can check permissions at multiple levels , Less consideration can be given to the running speed of the system .
B/S The architecture of the program focuses on multiple considerations of security and access speed , Based on the need for more optimization . Than C/S Architecture has higher requirements .
B/S The process of architecture is the development trend , The introduction of some new technologies , send B/S The architecture is more mature . - Software reuse is different :
C/S An architected program may not consider integrity ,, The reusability of the program is not as good as that in B/S The program requirements of the architecture are high .
B/S The structured program focuses on multiple structures , Components are required to have relatively independent functional modules , It can be reused relatively well . - System maintenance is different :
System maintenance is an important part of software life cycle , And it costs a lot .
C/S The upgrading and maintenance of the architecture program must be examined as a whole , It will be very difficult to deal with problems and system upgrades , Sometimes it may be to build a new system . Users also need to download, install and upgrade from the Internet .
B/S The architecture program is basically composed of modules with different functions , If a module has problems or needs to be upgraded , Maintaining the module alone can , The cost of system maintenance and upgrade can be minimized . - Dealing with problems is different :
C/S The framework of the program is relatively fixed for people , And deal with problems in the same area , High safety requirements , It is related to the operating system version .
B/S The program of the architecture is built on the WAN , For different user groups , This is a C/S Architected programs cannot do , Minimal relevance to the operating system platform . - The user interface is different :
C/S The procedures of architecture are mostly established Window On the platform , There are limited ways of expression , Generally speaking, the requirements for programmers are high .
B/S The architecture of the software is built on the browser ,, There are richer and more vivid ways of expression , Communicate with users . And most of the development difficulties are reduced , Reduce development costs . - The flow of information is different :
C/S The process of architecture is typically centralized and mechanical ,, Relatively low interactivity .
B/S The flow of program information of the architecture can change , Such as : E-commerce between enterprises (B-B Pattern ), E-commerce between enterprises and consumers (B-C Pattern ) , E-commerce between enterprises and governments (B-G Pattern ) etc. , The change of information flow is more like a trading center .
3、C/S The architecture and B/S Architecture advantages and disadvantages
(1)B/S Advantages and disadvantages of the model :
B/S Advantages of structure :
- It has the characteristics of distribution , You can query anytime, anywhere 、 Browsing and other business processing .
- Business expansion is simple and convenient , By adding pages, you can add server functions .
- Upgrading and maintenance are simple and convenient , Just change the page , All users can update synchronously .
B/S Disadvantages of patterns :
- The response speed is not as fast as C/S framework , With AJAX Technological development , Compared with tradition B/S The speed of architecture software is doubled .
- The interface and refresh mechanism are slightly different between different browsers , Sometimes you need to design the interface separately according to different browsers . But with the development of Technology ,B/S Architecture software user experience effect and C/S The software of the architecture is not much different .
(2)C/S Advantages and disadvantages of the model
C/S The advantages of patterns :
- Because the client realizes the direct connection with the server , There is no middle link , So the response speed is faster .
- C/S The structured management information system has strong transaction processing ability .
- The system has high stability and security .
C/S Disadvantages of patterns :
- LAN only .
With the rapid development of the Internet , Mobile office and distributed office are becoming more and more popular , This requires our system to be scalable .
Remote access requires specialized technology , At the same time, the system should be specially designed to deal with distributed data . - The client needs to install special client software .
First, it involves the workload of installation , Secondly, any computer has a problem , Like a virus 、 Hardware damage , All need to be installed or maintained .
There are also system software upgrades , Each client needs to be reinstalled , Its maintenance and upgrade costs are very high .、 - There are also restrictions on the operating system of the client .
May be adapted to Win7 System , But not for win8 System or Windows10 System ,
Or not applicable to Microsoft's new operating system, etc , Say nothing of Linux、Unix etc. .
a key : Supporting learning materials and video teaching
So here I have carefully prepared the detailed information of the above outline in The link below is as follows


边栏推荐
- torch. histc
- pytorch训练深度学习网络设置cuda指定的GPU可见
- Promise中finally的用法
- Pytorch training deep learning network settings CUDA specified GPU visible
- leetcode 1818 绝对值,排序,二分法,最大值
- 5. [WebGIS practice] software operation - service release and permission management
- Pathmeasure implements loading animation
- Gorilla/mux framework (RK boot): RPC error code design
- 完全背包问题
- [small sample segmentation] interpretation of the paper: prior guided feature enrichment network for fee shot segmentation
猜你喜欢

Avalanche problem and the use of sentinel

Thread data sharing and security -threadlocal

IPv4 and IPv6, LAN and WAN, gateway, public IP and private IP, IP address, subnet mask, network segment, network number, host number, network address, host address, and IP segment / number - what does

Use of comment keyword in database

How do spark tasks of 10W workers run? (Distributed Computing)

FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)

Ctfshow blasting WP

在线公网安备案保姆级教程【伸手党福利】

E15 solution for cx5120 controlling Huichuan is620n servo error

使用selenium自动化测试工具爬取高考相关院校专业招生分数线及排名情况
随机推荐
Pyramid Scene Parsing Network【PSPNet】论文阅读
Research on target recognition and tracking based on 3D laser point cloud
go实现命令行的工具cli
Take you through a circuit board, from design to production (dry goods)
Leetcode:剑指 Offer 59 - I. 滑动窗口的最大值
Split(), split(), slice(), can't you tell?
4. [WebGIS practice] software operation chapter - data import and processing
Leetcode:829. 连续整数求和
[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st
Error: plug ins declaring extensions or extension points must set the singleton directive to true
Cookie&Session
Implement pow (x, n) function
Detailed explanation of ES6 deconstruction grammar
FCN全卷积网络理解及代码实现(来自pytorch官方实现)
JS daily development tips (continuous update)
You cannot right-click F12 to view the source code solution on the web page
Avalanche problem and the use of sentinel
ECMAScript 6.0
Include() of array
torch.histc