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


边栏推荐
猜你喜欢

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

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

深度学习中的随机种子torch.manual_seed(number)、torch.cuda.manual_seed(number)

Asgnet paper and code interpretation 2

家居网购项目

Use of comment keyword in database

后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动

Blueprism registration, download and install -rpa Chapter 1

Edge drawing: a combined real-time edge and segment detector

文件上传下载
随机推荐
RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
The preorder traversal of leetcode 144 binary tree and the expansion of leetcode 114 binary tree into a linked list
Cookie&Session
小程序容器技术与物联网IoT的结合点
Basic concept and classification of sorting
Bilinear upsampling and f.upsample in pytorch_ bilinear
Edlines: a real time line segment detector with a false detection control
雪崩问题以及sentinel的使用
后台系统页面左边菜单按钮和右边内容的处理,后台系统页面出现双滚动
Nacos
报错:Plug-ins declaring extensions or extension points must set the singleton directive to true
[nine day training] content III of the problem solution of leetcode question brushing Report
10、Scanner. Next() cannot read spaces /indexof -1
Appium自动化测试基础 — APPium基本原理
split(),splice(),slice()傻傻分不清楚?
Leetcode: offer 59 - I. maximum value of sliding window
【伸手党福利】JSONObject转String保留空字段
Leetcode:829. 连续整数求和
Thread data sharing and security -threadlocal
静态库使用MFC和共享库使用MFC的区别