当前位置:网站首页>The difference between static web pages and dynamic web pages & the difference between Web1.0 and Web2.0 & the difference between get and post
The difference between static web pages and dynamic web pages & the difference between Web1.0 and Web2.0 & the difference between get and post
2022-07-03 03:23:00 【Johnny. G】
The difference between static web pages and dynamic web pages & WEB1.0 and WEB2.0 The difference between
1、 Types of web resources
Static web resources
Dynamic web resources
Pseudo static web resources ( Don't explain )
1) Static web resources
Static pages are normal request response information , Send it to the client for processing , Parsed by browser , Finally echo the page . There is no connection to the database during , pure HTML Format page ( Can contain pictures 、JS 、CSS Patterns, etc ). Suffixes are commonly .html、.htm、.xml、.js 、.css The form such as .
2) Dynamic web resources
Dynamic pages are normal request response information , Send it to the server for processing , It is processed by the server , Return the information to the client , Finally, the echo page is generated . Connect to the database during , The suffix is usually .asp、.aspx、.php、.js、.do、.cgi The form such as .
2、 The difference between static web pages and dynamic web pages
① Static page
Suffixes are commonly .html、.htm、.xml、.js 、.css The form such as
Handle html、jpg、.gif、.mp4 Etc
URL The address does not contain “?”、“&” And other related symbols
It is usually saved on the file system of the website server
The content of the page is fixed , Poor exchangeability , You can't connect to the database , The efficiency of access is relatively high
When a user requests a page , The client requests data from the server , The server will return relevant data directly from the file system , Then it is parsed through the browser
② Dynamic pages
Suffixes are commonly .asp、.aspx、.php、.js、.do、.cgi The form such as
Page content can change in real time , Strong interaction , Can connect to database , The efficiency of access is relatively low
URL The address contains "?"、“&” And other related symbols
Not easy to be included by search engines
3、Web l.0 & Web 2.0 difference
Web1.0 Only users get information through the browser ( A one-way )
Web2.0 Pay attention to interactivity , Users are users of the website , It is also the creator of website content ( two-way )
4、GET & POST The difference between
1) The amount of data transmitted is different
- get The amount of data that can be transmitted is small , Not greater than 2KB
- post A large amount of data can be transmitted , Default is unlimited
2) Different security
1、get The submitted data will be displayed to URL in , Low security
2、post And get contrary , Data will not be echoed , High security
边栏推荐
- Pytoch configuration
- Change and access of median value of listening object
- 900w+ data, from 17s to 300ms, how to operate
- The XML file generated by labelimg is converted to VOC format
- Stepping on pits and solutions when using inputfilter to limit EditText
- [mathematical logic] normal form (conjunctive normal form | disjunctive normal form | major item | minor item | maximal item | minor item | principal conjunctive normal form | principal disjunctive no
- 用Three.js做一個簡單的3D場景
- Elsevier latex submitted the article pdftex def Error: File `thumbnails/cas-email. jpeg‘ not found: using draf
- Pytorch multi card distributed training distributeddataparallel usage
- Summary of determinant knowledge points in Chapter 1 of Linear Algebra (Jeff's self perception)
猜你喜欢

用Three.js做一個簡單的3D場景
![Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence](/img/60/bae0e8d92a53bcd2b2de3fb22b3b99.jpg)
Learning notes of C programming [compiled by Mr. Tan Haoqiang] (Chapter III sequence programming) 04 C sentence

Limit of one question per day

Use three JS make a simple 3D scene

MongoDB安装 & 部署

PAT乙级“1104 天长地久”DFS优化思路

Idea set method call ignore case

Summary of determinant knowledge points in Chapter 1 of Linear Algebra (Jeff's self perception)

Spark on yarn资源优化思路笔记
![[Chongqing Guangdong education] cultural and natural heritage reference materials of China University of Geosciences (Wuhan)](/img/19/815e7cba81f6eb52db5ef0db556dfd.jpg)
[Chongqing Guangdong education] cultural and natural heritage reference materials of China University of Geosciences (Wuhan)
随机推荐
Use of check boxes: select all, deselect all, and select some
Anhui University | small target tracking: large-scale data sets and baselines
基于QT的tensorRT加速的yolov5
com. fasterxml. jackson. databind. Exc.invalidformatexception problem
【PyG】理解MessagePassing过程,GCN demo详解
How to make backgroundworker return an object
Change and access of median value of listening object
敏捷认证(Professional Scrum Master)模拟练习题
MySQL Real combat 45 [SQL query and Update Execution Process]
销毁Session和清空指定的属性
UMI route interception (simple and rough)
New programmers use the isXXX form to define Boolean types in the morning, and are discouraged in the afternoon?
Creation and destruction of function stack frame
labelme标记的文件转换为yolov5格式
Find the storage address of the elements in the two-dimensional array
MySql实战45讲【索引】
File rename
模型转换onnx2engine
C # general interface call
[AI practice] Application xgboost Xgbregressor builds air quality prediction model (I)