The difference between static web pages and dynamic web pages, the difference between Webl.0 and Web2.0

Static and Dynamic Web Pages

Static pages

The request response information is sent to the client for processing, and the browser parses it. The displayed page is called a static page
. ) etc.)
are usually referred to as "static web pages
static page features

  1. Handle file types: such as .html, jpg, .gif, .mp4, .swf, .avi, .wmv, .flv, etc.
  2. The address does not contain special symbols such as question mark "?" or &.
  3. What is saved on the file system of the website server is the actual file entity saved on the server
  4. The content of the page is fixed, so it is easy to be indexed by search engines
  5. The interactivity of web pages is poor because it cannot cooperate with the database
  6. The web program is parsed on the user's browser side. When the client requests data from the server, the server will return the data directly from the disk file system (without any parsing).

Advantage:

  1. Access is more efficient
  2. The content of the webpage is fixed, so it is easy to be indexed by search engines
  3. The web program is parsed on the user's browser side. When the client requests data from the server, the server will return the data directly from the disk file system (without any parsing).

Disadvantages:

  1. The interactivity of web pages is poor because it cannot cooperate with the database
  2. What is saved on the file system of the website server is the actual file entity saved on the server

dynamic webpages

The so-called dynamic web page is relative to the static web page, that is to say, the URL suffix of the dynamic web page is not the common extension form of the static web page such as . , .aspx, .php, .js, .do, .cgi, etc.
  The request response information is sent to the transaction end for processing, and the server completes the processing and returns the information to the client. The generated page is called a dynamic page
. features

  1. Common extension suffixes of Wangfind are: .asp, .aspx, .php, .js, .do, .cgi
    URL: http://reg.jd.com/reg/person?ReturnUrl=https%3A//www. jd.com/
    http://reg.jd.com — called url
    /reg/person?ReturnUrl=https%3A//www.jd.com/ — called uri
  2. Web pages are highly interactive and can cooperate with databases
  3. The address contains special symbols such as question mark "?" or &
  4. Not easy to be indexed by search engines

Advantages:
1. Strong interaction between client and server

Disadvantages:
1. The efficiency of access is relatively low
2. It is not easy to be indexed by search engines

The difference between Webl.0 and Web2.0

Web1.0

1. In the era of Web 1.0, the architecture of the Internet is mainly based on the client-server model, and static web pages are displayed based on HTML. The front-end technology is relatively simple, with poor interactivity and dynamics.
2. In the era of Web 1.0, the Internet is mainly used as a tool for information transmission and publishing. Most websites are static and lack social and collaborative features.
3. Web 1.0 focuses on information display and transmission. Websites are mainly created and published by a small number of professionals and institutions, and the participation of ordinary users is limited.

Web2.0

1. With the development of Web2.0, more front-end technologies and development frameworks have emerged, such as AJAX, JavaScript libraries, etc., enabling web pages to achieve richer interactive and dynamic effects. Web2.0 adopts a more distributed architecture. Through Web services and APIs, different applications can integrate and share data with each other.
2. Web2.0 focuses on social interaction and collaboration. Through various social media platforms and collaborative tools, users can easily establish contact with others, share information, collaborate on projects and participate in online communities.
3. The front-end technology and interaction methods have been improved, and AJAX, JavaScript libraries, etc. have been introduced to achieve a more dynamic and interactive web experience.
4. The content of the website is richer and more diverse, including blogs, social media, online forums, Wikipedia, etc. Users can post comments, upload pictures and videos, and interact and communicate with other users.

Guess you like

Origin blog.csdn.net/HealerCCX/article/details/132064116