Expert analysis 1-php Tutorial

Source: Internet
Author: User
Please analyze nj.ganji.comjiajunj.ganji.comjiaju317581709x.htm. this is a piece of information in the furniture column of the market network and under this column. please analyze whether this directory is actually generated and the static html generated under the Directory. The furniture directory is not necessarily under the root directory, but through pseudo-static conversion, like this nj. please analyze it
Http://nj.ganji.com/jiaju/
Http://nj.ganji.com/jiaju/317581709x.htm

This is a piece of information in the furniture column of the market network and under this column. please analyze whether this will actually generate such a directory, where the generated static html is placed underground. The furniture directory is not necessarily under the root directory, but through pseudo-static conversion, similar

Http://nj.ganji.com/jiaju/317581709x.htm ------> http://nj.ganji.com/html/jiaju/317581709x.htm


How is this feasible? In addition, if a static page is generated, what should I do if something on the static page needs to be changed? I thought of calling with js, and now I want to know if this method is also used by the market? Or something else?

------ Solution --------------------
For this static type, there are basically few changes. when the changes are made, the new html will be generated again.
------ Solution --------------------
First, the entry to a static page is generated by a dynamic page, and then the dynamic page allows temporary cache.

Therefore, users can directly access a static page, while static pages are linked by dynamic pages.

Dynamic pages have the ability to detect whether static pages need to be updated and are static immediately after being directly modified by CMS, or whether static pages should be generated again when the page content is detected to be changed.

In my personal guess, all portal websites submit content modification by CMS, and the content modification directly applies the template to instantly statically convert the page to the corresponding file on the day, which makes it possible for users to access the database completely.

For example, to add a News title hyperlink, CMS allows you to select a previously submitted and static news content page from the database, then it directly re-sets the template of the News title page to complete the title page update.

You should know that the template supports statements such as loops.

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.