摘要:随着Internet 技术的飞速发展,论坛随之产生,已经成为网络上不可缺少的交流方式之一,深受网民的喜爱。“网上论坛”是Internet上的一种信息服务系统,它提供一块公共电子白板,每个用户都可以在上面书写,可发布信息或提出看法,可以让来自世界各个角落的用户针对某个主题进行讨论,如此便可以达到集思广益的效果。 本论文重点阐述了系统的需求以及代码与数据库的实现。作为一个Web-BBS系统,其前台的设计是相当重要的,包括有:用户能使用BBS的最基本权力;使用者资料正确,即可以在讨论区当中发表文章、发表话题、回复话题;具有正式注册身份的使用者才具有进入本系统并参与其中的各项信息服务的各种权利。使用者通过了身份的确认后,即可具有上述使用权。管理员根据自己的权限对话题进行查询、修改、增加和删除操作,对注册用户进行查询、修改、增加和删除操作,对用户的基本资料进行查看和修改等操作。 系统使用Microsoft Visual Studio 2005编译和管理代码,使用Microsoft SQL Server 2000存储、处理和管理数据,使用Microsoft SQL Server 2000查询分析器和事件追踪器查询和追踪SQL语句,此开发工具利于减轻服务器和带宽的负担,从而达到节约ISP的空间及带宽租用成本的目的,使用会话管理和密钥加密管理用户信息。系统页面直观、明了、条理清晰,易学、易用、易管理。保证数据的存储稳定,保持页面的稳定,信息更新的速度以及论坛人员和信息的容量,登陆信息的加密以及会话管理都是论文很重要的一部分。 关键字:BBS,Web-BBS,发表话题,Asp.net,Sql server Web-BBS system based on Asp.net ABSTRACT:With the development of Internet technology, the BBS has become the one of the indispensable exchanges in network. "Web-BBS" is the one of the information service systems in internet. It can provide a public bulletin board, and every users can write on it. The users from everywhere can deliver the information and discuss some issues, so that it is full of many points. This paper expatiates the BBS system's needs and the design of the code and database. As a Web-BBS system, the design of prelude is a quite important part. Users can use the most basic power. While the user's information is correct, then he can deliver the articles, issues and revert to issues in the discussing. Only having formally registered, users can have access to the system and participate all the information service of their rights. Through the confirmation of the identity, users may have the rights to use these. Under the authority of their topic of inquiry, administrators can do exanmiations, modifications, additions and deletions of the issues and the registered users, and they can examine or modify the users' information. By using Microsoft Visual Studio 2005 management of compilering code, Microsoft SQL Server 2000 storage to process and manage data, and tracking SQL statement with the query analyzer and incident tracking of Microsoft SQL Server 2000 devices. Those development tools are to reduce server and bandwidth burdens, thus that can saving ISP space and the cost of renting bandwidth. Manage users information by using session management and encryption key management. The system here is direct, clear , lucid, and easy to learn, to use, to manage. Ensuring data storage stability, maintaining the stability of pages, the speed of updating information, theBBS system staff and information capacity, landing information encryption and session management are very important parts in this paper. Key words:BBS,Web-BBS,the issues delivering,Asp.net,Sql server 目 录 1. 绪论 1 1.1 引言 1 1.2 BBS的历史 1 1.2.1 BBS的起源 1 1.2.2 BBS的分类 2 1.3 BBS与Blog 3 1.4 课题来源和研究背景 4 1.4.1 课题来源 4 1.4.2 研究背景 5 2. 系统环境简介 9 2.1 软件选择 9 2.1.1 服务器端: 9 2.1.2 客户端: 9 2.1.3 开发工具 9 2.2 硬件选择 9 2.2.1 服务器端: 9 2.2.2 客户端: 10 2.3项目目标及主要内容 10 2.3.1 项目目标 10 2.3.2 主要内容 10 2.4 可行性分析 11 2.4.1 经济方面的可行性: 11 2.4.2 技术条件方面的可行性: 11 2.4.3 操作方面的可行性: 11 2.4.4 社会环境方面的可行性: 11 2.4.5 人员方面的可行性: 11 3. 系统开发概况 13 3.1 系统设计目标 13 3.2 系统模块划分 13 3.2.1 系统前台模块划分 13 3.2.2 系统后台模块划分 14 3.3 系统流程图 14 3.3.1 用户流程图 15 3.3.2 管理员流程图(后台) 15 4. 系统详细设计 16 4.1 注册与登陆模块 16 4.1.1 功能概述 16 4.1.2 实现阐述 16 4.2 查看基本信息和修改个人信息模块 19 4.2.1 功能概述 19 4.2.2 实现阐述 19 4.3 话题模块 20 4.3.1 功能概述 20 4.3.2 实现阐述 20 4.4 短信息模块 22 4.4.1 功能概述 22 4.4.2 实现阐述 22 4.5 管理者模块 23 4.5.1功能概述 23 4.5.1 实现阐述 23 5. 数据库设计 25 5.1 数据库总体设计 26 5.2 数据库连接 27 6. 创新点和程序的优化 28 6.1 程序的优化 28 6.1.1 代码复用 28 6.1.2 连接池 29 6.1.3 使用Page.IsPostback 属性 29 6.2 创新点 30 6.2.1 加密技术 30 6.2.2 数据库控制版块分类 30 6.2.3 用户OS、IP信息查看 32 7.系统优点与不足 33 7.1 BBS的特点: 33 7.2 本Web-BBS系统的优点 34 7.3 本Web-BBS系统的不足和局限性 34 总 结 35 致 谢 36 参考文献 37 1. 绪论 1.1 引言 现在越来越多的网民,都有自己固定去的论坛,而在因特网上,各种各样的论坛层出不穷,每个人都可以根据自己的兴趣爱好去选择自己感兴趣的论坛,BBS在如今的网络时代,是一个不可缺少的交流信息、分享软件的平台。Internet BBS具有以下的一些优点:访问速度快、服务器负载小、表现力更丰富、使用更加方便,它已经成为一种用户全方位交流信息的场所,一个BBS站同时可能有几十人甚至几百人接入,每个人之间可以进行面对面的交谈,或者众人讨论一个问题,这正是Internet BBS的诱人之处。 目前,通过BBS系统可随时取得国际最新的软件及信息,也可以通过BBS系统来和别人讨论计算机软件、硬件、Internet、多媒体、程序设计以及医学等等各种有趣的话题,更可以利用BBS系统来刊登一些“征友”、“廉价转让”及“公司产品”等启事,而且这个园地就在你我的身旁。 BBS由以前的BASIC、VB等汇编语言开发[1],直到现在的Internet BBS中用到的Asp.net或者Java技术去访问SQL Server, Sybase或者Oracle数据库,BBS的开发技术一直都是与程序开发语言齐头并进。现在的Internet BBS一般都是采用Asp.net开发工具去直接访问数据库,但如果多人同时访问一个页面或者回复一个话题,页面刷新会比较慢而且数据库更新也没有那么迅速,因为服务器是直接与数据库交换数据,势必需要一段时间来刷新。而现在的Ajax, Nbear等新兴技术和框架的出现,拥有页面无刷新,访问数据更加迅速等的优点,无疑又会给我们的Internet BBS开发带来一股新的潮流。 |
基于Asp.net的Web-BBS系统
- 上一篇:高速公路收费系统设计与实现
- 下一篇:神经网络在模式识别中的简单分析及应用
查看评论
已有0位网友发表了看法