文档介绍:基于Ajax的网络聊天室的设计与实现
摘要
如何更好地与他人沟通是人们普遍关心的问题。人们通过网站可以展示产品,了解与用户和合作伙伴的最新发展,交流和沟通,建立联系和开展电子商务。在线聊天系统作为一个网站的重要组成部分,为人与人之间的交流和交往提供了一个平台。
传统的互联网聊天室,以显示在线用户和用户信息的实时传送,需要定期刷新页面。刷新页面,不仅要占用一定的系统资源和网络带宽,也会出现“白屏”现象,这对良好的用户体验是非常不利的。 Ajax是一个新的web应用,使用Ajax技术的发展不仅解决了页面刷新带来的白屏问题,也减少了对服务器和网络传输的负载。
Ajax技术,数据库服务器端采用了SQL Server 2008作为数据库的开发,用C#语言编写的无刷新的网络聊天室。
关键词:Ajax;网络聊天室;无刷新;异步交互
DESIGN AND IMPLEMENTATION OF AJAX-BASED CHAT ROOM
Abstract
How municate better with others is the general interest. Through the website can show the products, the latest developments, exchange munication with users and partners to establish contacts and merce. Online chat system constitute an important part of the site, to provide a platform for exchanges and contacts between people.
Traditional chat rooms in order to display online users and user messages sent in real time, the need to regularly refresh the page. Page refresh not only to take up some system resources work bandwidth, but there is also a "black and white" phenomenon is very detrimental to a good user experience. Ajax is a new web application, the chat room system using Ajax technology development not only solved the page refreshes bring black and white issues, but also reduce the load on the server work transmission.
The system uses the Ajax technology, database server-side SQL Server 2008 as database development, written in C # work chat rooms.
Key Words: Ajax; chat rooms;Nofresh;Asynchronous interaction
目录
摘要 I
Abstract II
1 绪论 1
系统现状 1
国内外主要研究成果 1
课题的主要内容及章节安排 3
2系统开发环境和关键技术 3
系统的开发环境 4
关键技术 4
技术 4
Ajax技术 6
Ajax技术 11
数据库技术 11
C#语言 12
3系统分析与设计 12
系统分析 13
聊天室功能需求分析 13
聊天室功能性能分析 13
系统运行环境 13
系统设计 13
系统结构 13
实体及数据库实现 15
后台功能模块 15
流程图 15
客户端与服务器端的相关设计 16
4 系统实现 18
聊天界面 18
登录界面 18
前台界面 19
5 系统测试 20
测试意义 20
测试目标 20
20
测试用例 20
结论 22
致谢 24
1 绪论
系统现状
在人们的生活中,