摘 要
在当今WEB风行的社会里,上网成为越来越多人们的选择。随着互连网的飞速发展,有关的网络技术也层出不穷。现今活跃在WEB站点中的ASP( Active Server Page)就是近年才发展起来的一项新型技术。ASP功能强大、本领高强,利用ASP功能时几乎没有什么限制,ASP是服务器端的脚本环境,可以开发动态的、交互的、高效的Web站点。使用ASP建立的网站可拥有动态页面。
本文主要介绍了ASP技术相关的基础知识,通过对ASP的脚本语言、ASP的内置对象、ASP与数据库的连接等技术的分析,探讨了建立聊天室的设计思想、方法及设计过程,详细地分析了各个模块的功能及实现方法。利用ASP技术开发聊天室,解决了如聊天刷新、框架网页与变量的传递、聊天界面、屏蔽等问题,并结合源程序进行了论述,本文所实现的聊天室具有良好的人机交互界面 ,经过调试链接,证明可应用网站。
关键词:聊天室;对象;WEB;VBSCRIPT ;JAVASCRIPT
Abstract
Go up the selection that the net becomes more and more people in being living at present the community that WEB is popular. In the wake of each other speedily developing of networking , the relevant electric network technique also emerges in an endless stream . Item new technique which developed in nowadays ASP in active Web Site being living ( Active Server Page ) even though the past few years . The ASP meritorious service capacity is powerful and the capability is excelling in , and what limit is not nearly there is when utilizing the ASP meritorious service capacity . ASP is the server sure enough scenario environment , and may open up the developments and mutually and Web's Web Site high efficiency . Employ the Web Site that ASP establish have the dynamic paging .
The main introduction of the original ASP technique the person who is mutually related rudimentary knowledge , by means of the analysis to scripting language , integral target , ASP together with the data bank joint of ASP of ASP and so on technique , probing into to establish to chat room design idea , means and design process , the meritorious service detailed to analyze every module be able to reach the realization means . The problem such as utilizing ASP technological development to chat in the room , and resolving refurbishing and frame web page together with variable transmission and chatting interface and shielding and so on as chatting , and uniting the source program to expound , the chatting room that the original was achieved has the well user interaction interface , and the link is debugged to the course , yet demonstrates the application Web Site ..
Key words:Chat room;Object;Web;VBScript ;JavaScript
目 录
————————————————————————————————————
绪 论
第一节 留言板系统分析 …………………………………………………………………… (5)
1.1 需求分析 ………………………………………………………………… (5)
1.2 可行性分析 ……………………………………………………………… (6)
第二节 总体设计 ………………………………………………………………………… (7)
2.1 项目规划 ………………………………………………………………… (7)
2.2 系统功能结构图 ………………………………………………………… (7)
2.3 设计目标 …………………………………………………………………… (8)
2.4 系统流程分析 ……………………………………………………………… (8)
2.5 开发运行环境 ……………………………………………………………… (9)
第三节 数据库设计 ……………………………………………………………………… (10)
第四节 前台主要功能模块详细设计 ……………………………………………… (11)
4.1 前台文件总体架构 ………………………………………………… (11)
4.2 聊天室版面模块设计 ………………………………………………… (12)
4.3 聊天室模块设计 ……………………………………………………… (14)
4.3.1 聊天室发言区模块设计 ………………………………… (14)
4.3.2 聊天室房间切换模块的设计 …………………………… (18)
4.4 聊天室显示在线人模块设计 ………………………………………… (19)
第五节 聊天室后台主要功能模块详细设计 ……………………………………… (21)
5.1 聊天室后台总体架构 …………………………………………………… (21)
5.2 后台登陆模块设计 ……………………………………………………… (22)
5.3 聊天室添加房间模块设计 …………………………………………… (23)
5.4 禁止用户名模块设计 ………………………………………………… (24)
5.5 禁止IP地址 …………………………………………………………… (26)
5.6 不良词语过滤 ……………………………………………………… (27)
结 论 …………………………………………………………………………………… (30)
后 记 …………………………………………………………………………………… (31)
附 录 …………………………………………………………………………………… (32)
参考文献 ………………………………………………………………………………… (33)
绪 论
伴随着网络的出现,网页逐渐融入人们的生活。快速及时的信息浏览,五彩缤纷的网上信息,使网络与人们的生活息息相关,于是世界上又出现了第三媒体——Internet。它打破了地域限制,真正使信息得以共享,改变了人们的工作和生活方式。制作网页是企业和个人的宣传自己的重要手段,同时也是学习者获取学习信息的重要手段。尤其是在交流领域,人们对信息的需求有了更新,更高的要求,而网页由于本身所具有的信息量大,传递快速,没有时空限制等特点恰好满足这种要求。所以网页也逐渐成为一种新兴的交流资源。也正是由于网络实现网站的数据信息能够进行实时交互,保证网站数据的实时性。
随着Internet的进一步发展,网络上的聊天日益进入了人们的生活,在网络中,人们不需要知道对方真实的姓名,年龄,只要是在同一个软件或者同一个聊天室里,大家都可以放下身心的包袱,无拘无束的交友、抒发自己的压力。不会因为一些合理和不合理的原因,限制住自己的言语。可以这么说,网络带动了信息的交流而聊天带来了我们更多的朋友和伙伴。
开发一个网络聊天室的能够提供给人们的交流平台,信息的流通等等,因此本论文将通过阐述制作网络聊天室的开发、制作、以及调试过程,来分析聊天室系统的各种功能和使用方法。