Basic overview of static Web pages
Static Web pages are usually URLs in the form of. htm,. html,. shtml,. xml, and so on. Static Web page, generally the simplest HTML Web page, the server side and the client is the same, and there is no script and small program, so it can not move. In HTML-formatted Web pages, you can also have a variety of dynamic effects, such as. gif format animation, FLASH, scrolling letters, and so on, these "dynamic effects" are only visual, and the following will be described in the Dynamic Web page is a different concept.
Features of static web pages
(1) Static Web pages each page has a fixed URL, and the URL of the Web page with the. htm,. html,. shtml and other common forms suffix, and does not contain "? ”;
(2) Once posted to the Web site server, regardless of whether there is user access, the content of each static page is saved on the site server, that is, static Web pages are actually saved on the server file, each page is a separate file;
(3) The content of static Web pages is relatively stable, so it is easy to be searched by search engines;
(4) Static Web pages do not support the database, in the production and maintenance of the site work is large, so when the site information is very large when the full reliance on static Web page production method is more difficult;
(5) The interactive fork of static Web page has great limitation in function.
A basic overview of Dynamic Web pages
Dynamic Web pages are suffixed with. asp,. jsp,. PHP,. Perl,. CGI, and a symbolic symbol in a Dynamic Web page URL-"? ”。 Dynamic Web pages with various animations, scrolling subtitles and other visual "dynamic effect" is not directly related to the Dynamic Web page can also be plain text content, can also contain a variety of animation content, these are just the manifestation of the specific content of the Web page, regardless of whether the page has a dynamic effect, Web pages that are generated using Dynamic Web technologies are called Dynamic Web pages. Dynamic Web site can also adopt the principle of static and dynamic, suitable for the use of dynamically web pages of dynamic Web pages, if necessary to use static Web pages, you can consider the method of static Web pages to achieve, on the same site, dynamic Web content and static Web content at the same time is also very common things.
Dynamic Web pages should have the following features
1. Interactivity: The Web page will dynamically change and respond to the user's requirements and choices. For example, visitors fill out the form information on the Web page and submit it, the server is processed to automatically store the information in the background database, and open the corresponding prompt page.
2. Automatic Update: That is, no manual operation, will automatically generate new pages, can greatly reduce the workload. For example, when you post information in a forum, the backend server automatically generates a new page.
3. Randomness: That is, when you do not ask the time, do not ask people to visit the same URL will produce different page effects. For example, the login interface automatically loops.
4. In the Dynamic Web page, "? "There are some problems in search engine retrieval, search engines are generally not able to access all pages from a database of a website, or for technical reasons, search spiders do not crawl URLs"? "Behind the content, so the use of Dynamic Web site in search engine promotion needs to do some technical processing to adapt to search engine requirements."
Static Web pages:
1, client resolution, high efficiency.
2. Extension
3, back end no database, no interaction with the user.
Dynamic Web pages:
A, the program in the service-side resolution, the general database-based, can be a large number of user interaction
B, after the most, accompanied by?,&, etc.
C, architecture optimization: poor efficiency, concurrency is also very low, as far as possible to convert to a static Web services.
Pseudo-Static web page:
The dynamic disguised as static, because the search engine can not search, pseudo-static is to facilitate search engines. Improves the user experience, but does not improve performance. Rewrite, just change the path and look like it's static.
Some of the update frequency of the business is not suitable for dynamic static, this time to do pseudo-static.
Pseudo-Static Summary:
1. Dynamic Web page disguised as static
2, the purpose: To facilitate search engines to search deer, improve user access and user experience.
3, because it is only camouflage, actually still dynamic, so performance has not improved, but decreased, the conversion of resource consumption performance.
4, work or as far as possible to convert to static, unless the concurrency is not very large.
This article is from the "Work hard" blog, please be sure to keep this source http://amyhehe.blog.51cto.com/9406021/1700389
Features of dynamic Web pages and static Web pages