Static web page
Static web page refers to an html web page. The content of this web page is fixed, and modifications and updates must be made through Dedicated web page creation tools, such as Dreamweaver.
Dynamic web pages refer to the method of using web script languages, such as php, asp, asp.net, etc., to dynamically store website content into a database through scripts. Users access the website by reading the database to dynamically generate web pages.
The website is mainly based on some frameworks, and most of the content of the web pages is stored in the database. The biggest difference between static web pages and dynamic web pages is whether the web page has fixed content or online updateable content.
The disadvantage of a static website
is that it is not easy to maintain. In order to continuously update web content, you must repeatedly create HTML documents. As the content and amount of information on the website increase, If you expand, you will feel that the workload is unimaginable.
Dynamic web page
The dynamic web page has asp or php keywords in the address bar, and the page content on the server side and the client side are different. The most original page exists on the server side. According to the content or requirements of user feedback, after the server side calculates the results, the results are directly transferred to the client computer for display.
Characteristics of dynamic web pages:
1. "Interactivity" means that the web page will dynamically change and respond according to the user's requirements and choices, using the browser as the client interface .
2. "Automatic update" means that there is no need to manually update the HTML document, and a new page will be automatically generated, greatly saving workload.
3. "Changes with time and people", that is, when different people visit the same website at different times, different pages will be generated.
Recommended video tutorial: PHP Video tutorial
The above is the detailed content of Is the php page static?. For more information, please follow other related articles on the PHP Chinese website!