当前位置:网站首页>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
边栏推荐
- Limit of one question per day
- MySQL practice 45 lecture [row lock]
- Basic information of Promethus (I)
- 程序员新人上午使用 isXxx 形式定义布尔类型,下午就被劝退?
- VS 2019安装及配置opencv
- The file marked by labelme is converted to yolov5 format
- 3D drawing example
- C # webrequest post mode, based on "basic auth" password authentication mode, uploads files and submits other data using multipart / form data mode
- Use three JS make a simple 3D scene
- On the adjacency matrix and adjacency table of graph storage
猜你喜欢
Agile certification (professional scrum Master) simulation exercise-2
Docker install redis
Limit of one question per day
Latest version of NPM: the "NPM" item cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Please check
Use of El tree search method
MongoDB复制集【主从复制】
Pytorch轻量级可视化工具wandb(local)
Pytoch configuration
MySql实战45讲【事务隔离】
PAT乙级“1104 天长地久”DFS优化思路
随机推荐
Destroy the session and empty the specified attributes
docker安装redis
Stepping on pits and solutions when using inputfilter to limit EditText
403 error displayed when vs cloning
PHP constructor with parameters - PHP constructor with a parameter
C # webrequest post mode, based on "basic auth" password authentication mode, uploads files and submits other data using multipart / form data mode
静态网页 和 动态网页的区别 & WEB1.0和WEB2.0的区别 & GET 和 POST 的区别
C # general interface call
PAT乙级常用函数用法总结
labelme标记的文件转换为yolov5格式
Use three JS make a simple 3D scene
el-tree搜索方法使用
将时间戳转为指定格式的时间
redis高级应用【密码防护、数据持久化、主从同步、哨兵模式、事务】【暂未完成(半成品)】
Gavin teacher's perception of transformer live class - rasa project's actual banking financial BOT Intelligent Business Dialogue robot architecture, process and phenomenon decryption through rasa inte
PAT乙级“1104 天长地久”DFS优化思路
Parameter index out of range (1 > number of parameters, which is 0)
Limit of one question per day
Limit of one question per day
Réglez la hauteur et lancez le système. Currenttimemillis catton