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


边栏推荐
- IPv4和IPv6、局域网和广域网、网关、公网IP和私有IP、IP地址、子网掩码、网段、网络号、主机号、网络地址、主机地址以及ip段/数字-如192.168.0.1/24是什么意思?
- Valid brackets (force deduction 20)
- [深度学习]激活函数(Sigmoid等)、前向传播、反向传播和梯度优化;optimizer.zero_grad(), loss.backward(), optimizer.step()的作用及原理
- Download and installation configuration of cygwin
- Feign远程调用和Getaway网关
- Home online shopping project
- Md5sum operation
- RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
- Leetcode 128 longest continuous sequence (hash set)
- Learning notes for introduction to C language multithreaded programming
猜你喜欢

LeetCode 144二叉树的前序遍历、LeetCode 114二叉树展开为链表

监听器 Listener

Are you still wasting brain cells for self-study? This interview note is definitely the ceiling of station C

小程序容器技术与物联网IoT的结合点

实现pow(x,n)函数

The value of the second servo encoder is linked to the NC virtual axis of Beifu PLC for display

E15 solution for cx5120 controlling Huichuan is620n servo error

Leetcode 31 next spread, leetcode 64 minimum path sum, leetcode 62 different paths, leetcode 78 subset, leetcode 33 search rotation sort array (modify dichotomy)
![[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

C语言多线程编程入门学习笔记
随机推荐
[nine day training] content III of the problem solution of leetcode question brushing Report
jeecgboot输出日志,@Slf4j的使用方法
idea插件备份表
Cookie&Session
How do I use Google Chrome 11's Upload Folder feature in my own code?
pytorch中的双线性插值上采样(Bilinear Upsampling)、F.upsample_bilinear
【伸手党福利】开发人员重装系统顺序
[daily training] 1175 Prime permutation
[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st
Kmeans
Sort linked list (merge sort)
TEC: Knowledge Graph Embedding with Triple Context
终极套娃 2.0 | 云原生交付的封装
gcc使用、Makefile总结
小程序容器技术与物联网IoT的结合点
pytorch训练深度学习网络设置cuda指定的GPU可见
实现pow(x,n)函数
Asgnet paper and code interpretation 2
在线公网安备案保姆级教程【伸手党福利】
文件上传下载