当前位置:网站首页>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
边栏推荐
- Elsevier latex 提交文章 pdftex.def Error: File `thumbnails/cas-email.jpeg‘ not found: using draf
- umi 路由拦截(简单粗暴)
- 二进制流转换成字节数组
- Small guide for rapid formation of manipulator (VIII): kinematic modeling (standard DH method)
- About HTTP cache control
- Find the storage address of the elements in the two-dimensional array
- Idea set method call ignore case
- Latest version of NPM: the "NPM" item cannot be recognized as the name of a cmdlet, function, script file, or runnable program. Please check
- C# WebRequest POST模式 ,基于“Basic Auth”口令认证模式,使用multipart/form-data方式上传文件及提交其他数据
- 900w+ data, from 17s to 300ms, how to operate
猜你喜欢

idea 加载不了应用市场解决办法(亲测)
![[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)

Nce detail of softmax approximation

Bid farewell to artificial mental retardation: Mengzi open source project team received RMB 100 million financing to help NLP develop

Avec trois. JS fait une scène 3D simple

docker安装mysql

MySql实战45讲【事务隔离】

Distributed transaction

Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!

900w+ data, from 17s to 300ms, how to operate
随机推荐
模糊查询时报错Parameter index out of range (1 > number of parameters, which is 0)
Converts a timestamp to a time in the specified format
Creation and destruction of function stack frame
[Chongqing Guangdong education] cultural and natural heritage reference materials of China University of Geosciences (Wuhan)
Stepping on pits and solutions when using inputfilter to limit EditText
Model transformation onnx2engine
Force deduction ----- the minimum path cost in the grid
敏捷认证(Professional Scrum Master)模拟练习题
MySql实战45讲【索引】
3D drawing example
Vs 2019 configure tensorrt to generate engine
The idea setting code is in UTF-8 idea Properties configuration file Chinese garbled
[combinatorics] Application of exponential generating function (multiple set arrangement problem | different balls in different boxes | derivation of exponential generating function of odd / even sequ
Avec trois. JS fait une scène 3D simple
900w+ data, from 17s to 300ms, how to operate
模糊查詢時報錯Parameter index out of range (1 > number of parameters, which is 0)
TCP handshake three times and wave four times. Why does TCP need handshake three times and wave four times? TCP connection establishes a failure processing mechanism
别再用 System.currentTimeMillis() 统计耗时了,太 Low,StopWatch 好用到爆!
Using jasmine to monitor constructors - spying on a constructor using Jasmine
Hi3536C V100R001C02SPC040 交叉编译器安装