Differences between static websites and dynamic websites

Source: Internet
Author: User
Tags website server
Program Whether to run 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:

Http://sp.itnetbuy.com/sp/music/yysplayer.htm

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

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.