Read the Software Engineering Notes (f) of ASP.NET Dynamic Web Design

According to the way Web pages generated can be divided into static and dynamic web pages.

1, static pages

Static pages are those that do not accept user input information of Web pages whose content is static, the only response is to display the connected web page after a mouse click a hyperlink. When a user with a click on a hyperlink, the page will display the linked information in the browser.

2, dynamic pages

Dynamic web page is allowed to perform a user can enter a variety of information, in order to achieve human-computer interaction, and it can display different content according to different time, different visitors.

Static pages not only contain HTML tags, it also contains the relevant code.

3, the working principle of static pages

(1) users enter the URL of a Web request issued by the Web browser.

(2) Web server receives a Web request.

(3) Web server requests the appropriate file to the file system.

(4) file system contents of the file back to the Web server.

(5) Web server returns the requested files.

(6) Web browser receives file (HTML file) request and graphically the HTML tags displayed on the computer screen.

4, the working principle of dynamic web pages

(1) users enter the URL of a Web request issued by the Web browser.

(2) Web server receives a dynamic Web page request.

(3) Web server requests the appropriate source file to the file system.

(4) the file system will return the source file to the Web server, the Web server through the source code to generate HTML output.

(5) Web server returns HTML output file.

(6) Web server receives a request file (HTML file), and graphically HTML tags will be displayed on the computer screen.

Guess you like

Origin www.cnblogs.com/jccjcc/p/12129036.html