HTML documents can be divided into static HTM L and dynamic HTML.A static HTML document isWebsite productionThe content in is "fixed".When the browser requests the web page content from the site server through HTTP on the Internet, the site server will send the designed HTML document to the browser after receiving the request, as shown in Figure 5-16.To update the content of a Web page, you must manually update its HTML file data.
Dynamic HTML document means that the webpage is interactive and the content is updated through dynamic script.When you fill in the form input data on the browser and make an HTTP request, you can execute the application in the 1'eb server instead of just an HTML file.The Web server receives the application program to be executed. The application program analyzes the input data of the form, and transmits the execution result to the browser in HTML format.Therefore, dynamic HTML documents are generated dynamically after receiving a request from a Web browser. The program that generates dynamic HTML documents is called "server-side extension".In this process, the web server itself does not participate in the process of dynamically generating documents, but simply passes the request for the web page to the server extension program, and then returns the HTML document generated by the extension program to the web browser. The process of dynamic web page processing is as follows:
(1) Web browser requests dynamic pages; (2) The Web server looks up the page and passes it to the application server; (3) The application server looks up the instructions in the page and completes the page; (4) The application server passes the completed page back to the Web server; (5) The Web server sends the completed page to the request browser.
The dynamic webpage is shown in Figure 5-17.
With the rapid development of the Internet, a large number of complex information resources have emerged in the Web environment. People are no longer satisfied with only obtaining static web pages stored in the form of files on the Web browser.Dynamic web page technology can introduce database technology into the Web system. The integration and development of the two technologies make full use of a large number of existing database information resources, so that users can easily retrieve and browse the contents of the database on the Web browser.Therefore, at present, almost all enterprise websites use dynamic webpage technology to give play to its unique advantages such as convenient maintenance, information update, and speed.Next, this book will explain the basic principles and composition technology of dynamic web pages, so that learners can understand and be familiar with relevant content. This article was published in UEOMarketing website constructionCompany Shangpin China//ihucc.com/