页面自动更新

所属分类:WEB开发
开发工具:ASP
文件大小:22KB
下载次数:13
上传日期:2005-08-09 09:29:22
上 传 者yilaiofchina
说明:  网站的内容如有更新的话,总在要在首页表现出来。所以当更新一个地方的时候,总是要同时更新首页。但利用在线自动更新就方便得多啦。以下我们将利用ASP完成这一过程。 一个程序写之前,它的结构要先描绘出来。当结构确定之后,这个程序也已经完成一半了,所差的只是如何用语言去实现它。 根据本站的要求这个自动更新程序的结构(要求)初步定如下: 用数据库以保存所有的更新内容; 在首页上体现出最新更新的10条内容(当然不一定非10条不可啦); 在首页建个链接,可以弹出窗口按分页查看所有更新内容。 还有一个问题是:更新内容以什么方式输出到首页?一是用ASP直接修改首页,但那样可能不是好办法,因为本站的首页较为笨重,而所需更新的地方只是首页的“最新更新”部份,写起来较为复杂,需要在首页上加入标志,再则如果有镜象站点的话还要一个一个更新。二是首页直接用ASP文件,但那样消耗资源较为严重,速度较慢,特别是首页是大家首先要经过的地方,速度不快会影响冲浪者的心情。三是在首页以插入形式加入ASP或JAVA小程序,比较起来当然是客户端JAVA更理想,本程序采用的是自动生成js文件。
(website content updated if so, to the total shown on the first page. So when an update local time, must also update Home. But the use of on-line automatic update it more convenient. Below we will use ASP to complete the process. Before I write a procedure, the structure of its first portrayed. When the structure is determined, the process has been completed, half of the difference is how the language used to reach it. According to the requirements of the site automatically update the structure (requirement) is tentatively scheduled as follows : database to keep all the content has been updated; Home on the latest updates to reflect the 10 (of course, not necessarily-- not 10); Home to build the link, a pop-up window by Pagination View all updated. There is also a question : updating conte)

文件列表:
add.asp (1191, 2000-03-17)
add.htm (1216, 2000-04-15)
ADOVBS.INC (7438, 1999-10-27)
allnews.asp (2122, 2000-01-25)
new.mdb (96256, 2000-04-20)

近期下载者

相关文件


收藏者