Static webpage VS Dynamic Webpage vs Dynamic Webpage

Source: Internet
Author: User
Tags website server

Static webpage VS Dynamic Webpage vs Dynamic Webpage

When we are working on the zookeeper news system, the established web pages include. html and. aspx: I thought these things are the same at the beginning. When I look at ASP. NET Video, the teacher who heard the lecture mentioned the two, the original static web page and dynamic web page.


Static webpage


Refer and other common forms are suffixes. Once the webpage content is published to the website server, the content of each static webpage is stored on the website server no matter whether there are users accessing it or not. That is to say, A static webpage is a file actually stored on the server. Each webpage is an independent file. When the client sends a request, the server finds this static webpage, without executing any program, you can directly upload the webpage to the browser of the client. If the website builder does not update the website, the webpage content will not be different because of the program execution.



Dynamic Web Page


The webpage contains program code, has a background database, and is executed by the server. asp ,. jsp ,. php ,. perl ,. cgi and other forms are suffixed, and there is a symbolic symbol in the dynamic Web site-"? ". Dynamic Web pages are not directly related to the visual "dynamic effects" of various animations and subtitles on webpages. Dynamic Web pages can also be pure text content, it can also contain a variety of animation content, which is only the form of the specific content of the webpage. When the client sends a request, the server will first execute the program code, and then explain and execute the webpage, download the execution result to the browser of the client. If the parameters of your request are different, the execution result may be different.

 



What is the difference between a static webpage and a dynamic webpage? Is it static or dynamic to create an article website?

In general, static means that the webpage does not have a background database and is mainly used for static data and non-interactive webpages, such as a photo exhibition website.

Dynamic requires user interaction with the website, such as uploading files, posting articles, and storing them in the database.

Therefore, post or blog websites should use dynamic shelving sites.

Differences between static and dynamic web pages

Static web pages and dynamic web pages are differentiated based on the language of the web pages:
Static webpage language: HTML (Hypertext Markup Language)
Dynamic Webpage language: HTML + ASP, HTML + PHP, HTML + JSP, etc.
Differences between static Web pages and dynamic pages
Whether the program runs on the server is an important indicator. Programs, web pages, and components running on the server are dynamic web pages that return different web pages at different customers and times, for example, ASP, PHP, JSP, ASP.net, CGI, etc. The programs, webpages, plug-ins, and components running on the client are static webpages, such as html pages, Flash, JavaScript, and VBScript. They remain unchanged.
Static webpages and dynamic webpages have their own characteristics. The use of dynamic webpages or static webpages mainly depends on the functional requirements of the website and the content of the website. If the functions of the website are relatively simple, the amount of content updated is not large, the use of pure static Web pages is simpler, and dynamic web pages are generally used.
Static webpages are the foundation of website construction, and there is no conflict between static webpages and dynamic webpages. To meet the search engine search needs of websites, even if dynamic website technologies are used, you can also convert the webpage content to a static webpage for publishing.
Dynamic websites can also adopt the combination of static and dynamic web pages. Dynamic Web pages are suitable for dynamic web pages. If you need static Web pages, you can use static Web pages, on the same website, dynamic and static webpage content also exists.
The general features of dynamic web pages are summarized as follows:
(1) dynamic web pages are based on database technology, which can greatly reduce the workload of website maintenance;
(2) websites using dynamic web technologies can implement more functions, such as user registration, user logon, online surveys, user management, and order management;
(3) A dynamic webpage is not a webpage file that exists independently on the server. The server returns a complete webpage only when the user requests it;
(4) "?" in a dynamic webpage There are some problems with search engine search. Generally, it is impossible for search engines to access all webpages from a website database, or for technical reasons, search Spider does not crawl the "?" in the website Therefore, when using dynamic web pages for search engine promotion, some technical processing is required to meet the search engine requirements.
What is a static webpage? What are the characteristics of static Web pages?
In website design, web pages in pure HTML format are often referred to as "static Web pages". Early websites were generally made from static Web pages.
The static webpage URL format is usually:
It is also suffixed with .htm=.html#.shtml and. xml. Dynamic effects can also be displayed on HTML-formatted web pages, such. animated GIF, FLASH, and scroll letters. These "dynamic effects" are only visually different from the dynamic web pages described below.
The characteristics of static Web pages are summarized as follows:
(1) every webpage has a fixed URL, and the URL of the webpage is suffixed in common forms such as .htm?.html=.shtml, but does not include "?";
(2) once the webpage content is published to the website server, the content of each static webpage is stored on the website server, no matter whether there are users or not. That is to say, static web pages are files actually stored on servers. Each web page is an independent file;
(3) The content of static Web pages is relatively stable and therefore easy to be searched by search engines;
(4) static Web pages do not support databases and have a large workload in website production and maintenance. Therefore, it is difficult to rely solely on static Web page production when the website information volume is large;
(5) interactive interaction between static Web pages, which has great functional limitations
I seem to understand it. I first look at the suffix, and second, whether it can interact with the server.
Compared with dynamic web pages, static Web pages refer to webpages without backend databases, programs, and interactions. What you compile is what it shows and there will be no changes. Static web pages are relatively difficult to update and are suitable for those with fewer updates... the remaining full text>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.