当前位置:网站首页>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


边栏推荐
- Leetcode 1482 guess, how about this question?
- Implement pow (x, n) function
- Pytorch training deep learning network settings CUDA specified GPU visible
- LeetCode 31下一个排列、LeetCode 64最小路径和、LeetCode 62不同路径、LeetCode 78子集、LeetCode 33搜索旋转排序数组(修改二分法)
- 10、Scanner.next() 无法读取空格/indexOf -1
- 深度学习中的随机种子torch.manual_seed(number)、torch.cuda.manual_seed(number)
- 实现pow(x,n)函数
- pytorch nn. AdaptiveAvgPool2d(1)
- 后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动
- How to achieve 0 error (s) and 0 warning (s) in keil5
猜你喜欢

Appium自动化测试基础--补充:C/S架构和B/S架构说明

Hal library setting STM32 interrupt

Feature pyramid networks for object detection

Appium自动化测试基础 — APPium基本原理
![[nine day training] content III of the problem solution of leetcode question brushing Report](/img/7e/1e76181e56ef7feb083f9662df71c7.jpg)
[nine day training] content III of the problem solution of leetcode question brushing Report
![[小样本分割]论文解读Prior Guided Feature Enrichment Network for Few-Shot Segmentation](/img/b3/887d3fb64acbf3702814d32e2e6414.png)
[小样本分割]论文解读Prior Guided Feature Enrichment Network for Few-Shot Segmentation

Random seed torch in deep learning manual_ seed(number)、torch. cuda. manual_ seed(number)

LeetCode 128最长连续序列(哈希set)

家居网购项目

服务器渲染技术jsp
随机推荐
访问阿里云存储的图片URL实现在网页直接预览略缩图而不直接下载
Split(), split(), slice(), can't you tell?
[nine day training] content III of the problem solution of leetcode question brushing Report
IPv4和IPv6、局域网和广域网、网关、公网IP和私有IP、IP地址、子网掩码、网段、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?
FCN全卷积网络理解及代码实现(来自pytorch官方实现)
排序链表(归并排序)
Leetcode:剑指 Offer 59 - I. 滑动窗口的最大值
5. [WebGIS practice] software operation - service release and permission management
Use of comment keyword in database
Design of serial port receiving data scheme
FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)
Develop industrial Internet with the technical advantages of small programs
You cannot right-click F12 to view the source code solution on the web page
RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
还在浪费脑细胞自学吗,这份面试笔记绝对是C站天花板
[daily training] 1175 Prime permutation
Promise中finally的用法
How to use hybrid format to output ISO files? isohybrid:command not found
串口接收数据方案设计
Bilinear upsampling and f.upsample in pytorch_ bilinear