基于 ASP 技术的留言板设计
: :卜凯 : 9010202 ; 摘要:在网络技术发展迅速的今天,作为能够支持网络用户相互交流的网络留言板越来越得到各大网站的广泛使 用,在本次设计的
网络留言板系统中,通过 ASP 和 SQL SERVER 技术实现网络留板中的动态功能,同时使用 XHTML 和 DIV+CSS 层叠式样表技术设计留言板系统的界面和风格,结合使用 Microsoft Office Access 2003 建立数据 库实现后台管理。通过测试,网站不仅拥有游客注册、会员登陆、发帖回帖等基本功能,而且还可以支持添加好 友、发送信息、赠送花朵、改变网站风格等功能,同时在设计该系统时加入了管理员系统,管理员不但能够能对 网站系统进行设置,并且可以对会员用户进行资料修改,删除恶意注册用户。以上功能的实现均与系统设计的预 期一致,希望该网络留言板能够给广大网民带来方便。 关键词:ASP,留言板,网站,管理员 :
The Message Board Design Based On ASP Technology
Name:Kai Bo Number:200729010202 Advisor:Shigan Yu
Abstract: The rapid development in network technology today, as the support network of Internet users to exchange message board has been more widespread use of Web sites, in this Internet message board system designed in ASP and SQL SERVER through the network technology to stay Board of the dynamic function, while using XHTML and cas
cading style sheet DIV + CSS technology design message board system interface and styles, combined with Microsoft Office Access 2003 to establish a database to achieve Admin. Pass the test site not only has a tourist up, Login, post Replies and other basic functions, but also can support add friends, send messages, gift flowers, change the site style, features, and join in the design of the system administrator system , The administrator of the website system not only can be set, and the members of the user data can modify, delete malicious registered users. Implementation of these features are consistent with the expected design, I hope the network message board can bring convenience to our users. Key
words: ASP, message board,
website, administrator
1 系统需求分析
1.1 任务概述 开发出的网络留言板系统应该具备很强的开放性、扩展性和安全性,同时能够便 捷的对用户资料进行查询管理对网站上的不文雅词汇进行过滤, 屏蔽可能出现的安全 隐患,让注册用户可以有一个轻松自在的网上互动交流的站点。 1.2 系统功能分析
1.2.1 系统用户
系统用户主要有游客、注册用户、管理员三种,详见图 1-1 所示。
1
用户
系统
游客 注册用户
管理员
图 1-1
系统用户图 系统用户功能 1.2.2 系统用户功能
游客是用户里面权限最低的。只可以查看已发布的文章和已注册
博友,无法进行 其他操作,不用注册。注册用户是已经注册用户,可以添加其他注册用户为好友,发 送信息,修改自己的个人信息,发帖回帖。用户组的用例图如图 1-2 所示。
游客
查看文章
注册
发帖回帖
个人资料管理, 添加好友
发信息,送花朵
图 1-2 用户组的用例图
管理员组:管理员权限比
注册用户高。他们不但可以对注册用户进行管理而且可 以对网站进行管理。管理包括修改改会员信息、删除会员、过滤敏感词汇、设置网站 外观以及文章显示、改变网站名称、关闭网站,和关闭网站注册。当然,他们也可以 像一般用户那样填写留言和修改个人资料。以上各种操作也必须经过登录验证以后, 但是值得注意的是权限相同的管理员不能够对彼此进行操作, 管理员组的用例图如图 1-3 所示。
2
修改用户资料
删除注册用户
过滤敏感词汇 管理员 设置网站外观
关闭注册和关闭网站
修改网站名
图 1-3 管理员组的用例