词条 | 静态页面 |
释义 | 静态网页是实际存在的,无需经过服务器的编译,直接加载到客户浏览器上显示出来。静态页面需要占一定的服务器空间,且不能自主管理发布更新的页面,如果想更新网页内容,要通过FTP软件把文件DOWN下来用网页制作软件修改(通过fso等技术例外) 常见的静态页面举例:.html扩展名的、.htm扩展名的。 静态页面的优缺点首先静态页面的优缺点与动态页面的优缺点是相对的。 动态页面是一对多访问。通过一个页面。可以根据若干参数返回其不同的数据。但是静态页面因为是静态所以是一个页面对应一个内容。也就是多对多的关系。他的优点就是无论你如何访问都只是让服务器传数据给请求者。并不做脚本计算及读取后台数据库。从而大大的提高了访问速度及降低了部分安全隐患。 采用静态页面的方法可以将数据库及后台系统与前台划分开。两者间没有绝对的联系。从而从提高站点的安全。 以上就是静态页面的最大的优点。速度快,可以跨平台,跨服务器。 同样静态页面也拥有相等与优点的缺点。今天的静态页面已经不是单存的用FrontPage或DW来一张张做。然后发布到网上了。他已经是动态与静态结合的产物。通常我们的制作流程是这样的。 第一步:发布信息到数据库 第二步:选择页面的模版 第三步:程序读取模版 + 数据库信息 = 静态页面 第四步:发布索引页面(如首页,引导页等) 完成 静态页面的生成至少需要上述几个步骤才能完成。所以模版是关键的。因为静态页面无法在你调整后自动更新。必须再次创建。数据量大的话。这个更新的时间也相当可怕。所以你会发现有些大的网站新的文章与旧的文章长不是一个样子。在加上静态页面本身因为不具备动态页面的特性。也就无法做一些WEB应用。最明显的一点搜索。 英文解析Advantages and disadvantages of static pages First of all, the advantages and disadvantages of static pages and dynamic pages are relative advantages and disadvantages. Dynamic page is one to many visits. Through a page. Several parameters can return to their different data. But because it is static so the static page is a page corresponding to a content. Is many to many relationship. His advantage is that no matter how you access the server to transfer only the data to the requester. Calculation and reading the script does not do background database. Greatly increase the access speed and reduce some of the security risks. Static page methods can back the database and classification system and the front open. See there is no absolute link between the two. To improve the site from the security. These are the biggest advantages of static pages. Speed, can be cross-platform, cross-server. The same static page also has the advantages of equal and disadvantages. Today is not a single static page with FrontPage or kept to a picture of DW to do. Then published to the web the. He is already the product of dynamic and static state. In general, our production process is like this. The first step: release the information to the database Step Two: Select the page template The third step: application to read the database information template + = static page Step Four: Release index page (not as good as home, intro, etc.) Complete Static page generation at least to complete the above steps. So the template is the key. Because static pages can not be adjusted automatically update your. Must re-create. Large volume of data words. This update also very scary time. So you'll find some great new articles and web articles longer than the old one look like. In addition static pages themselves because they do not have the characteristics of dynamic pages. WEB applications will not be able to do something. The most obvious point search. |
随便看 |
百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。