Description of the execution mechanisms of static pages and dynamic pages

Description of the execution mechanisms of static pages and dynamic pages
1. A static page means that there are only HTML tags in the web page. As long as the WEB developers have not modified these HTML tags, the page content will not change.

Working mechanism of static pages:

1. Use HTML to write static pages and publish them to the WEB server;

2. The client requests the static page through the browser;

3. The web server locates the static page based on the request;

4. The static page is returned to the client in the form of HTML stream;

5. The client browser interprets the HTML stream and displays it as a WEB page.

2. A dynamic page means that the web page contains not only HTML code, but also program code, which can display different results based on different content input by the client.

Working mechanism of dynamic pages:

1. Use dynamic WEB development technology to write WEB applications, i.e. dynamic pages, and publish them to the WEB server;

2. The client requests the dynamic page through the browser;

3. The web server locates the web application;

4. The WEB server compiles or interprets the WEB application according to the client's request and generates an HTML stream;

5. Return the generated HTML to the client in the form of a stream;

6. The client browser interprets the HTML stream and displays it as a WEB page.

<<:  CSS3 realizes text relief effect, engraving effect, flame text

>>:  Introduction and examples of hidden fields in HTML

Recommend

Tutorial on installing and configuring remote login to MySQL under Ubuntu

This article shares the MySQL installation and co...

How to use Docker plugin to remotely deploy projects to cloud servers in IDEA

1. Open port 2375 Edit docker.service vim /lib/sy...

Example code of setting label style using CSS selector

CSS Selectors Setting style on the html tag can s...

Solution to garbled display of Linux SecureCRT

Let's take a look at the situation where Secu...

How to authorize all the contents of a folder to a certain user in Linux?

【Problem Analysis】 We can use the chown command. ...

Detailed introduction to MySQL database index

Table of contents Mind Map Simple understanding E...

Pure CSS3 realizes the effect of div entering and exiting in order

This article mainly introduces the effect of div ...

React hooks introductory tutorial

State Hooks Examples: import { useState } from &#...

Detailed explanation of various ways to merge javascript objects

Table of contents Various ways to merge objects (...

Installation tutorial of MySQL 5.1 and 5.7 under Linux

The operating system for the following content is...

Explanation of Dockerfile instructions and basic structure

Using Dockerfile allows users to create custom im...

Vue2.x configures routing navigation guards to implement user login and exit

Table of contents Preface 1. Configure routing na...

Steps to restore code from a Docker container image

Sometimes the code is lost and you need to recove...