摘 要
随着计算机技术的飞速发展,学校也已进入信息化时代。为了方便大学的学生管理以及学生进行互动交流,决定开发采用MVC模式,基于JSP的木兰县高级中学校园论坛系统,数据库使用SQL Server,在系统设计过程中,尽量采用易懂易读的人机界面,使用户可以在短期内完全掌握。软件开发过程中始终把系统的正确性放在首位,力求数据的完整和处理的正确性。在此基础上优化程序代码,加速系统运行和减少对系统资源的占用。
论文里说明了木兰县高级中学校园论坛系统的总体设计方案,包括了系统运用的关键技术,数据库设计,对各个功能模块的详细设计以及实现,本系统实现了注册会员,会员登录,登录后可以浏览个个模块内帖子,可以发帖回帖,查看斑竹、发帖人信息,管理员具有更改用户权限,删除用户,管理板块,能够增加、删除、修改板块信息,负责帖子的置顶精华管理。
关键词:校园论坛;MVC;JSP;SQL Server
ABSTRACT
Along with the rapid development of computer technology, the school also has entered the information age. In order to facilitate the management of university students and students interact, decided to develop the MVC pattern, the senior high school MuLanXian based on JSP campus BBS system, database using SQL Server, in system design process, make use of the man-machine interface simple and easy to read, users can fully mastered in the short term. Software development process always put the correctness of the system in the first place, strive to the integrity of the data and processing accuracy. Based on this optimization program code, accelerate system operation and reduce on the system resources of the occupation.
Thesis illustrates MuLanXian senior high school campus BBS system overall design scheme of the system, including the use of key technologies, database design of each functional modules, detailed design and implementation, this system realizes the registered members, members login, log on can browse each module post Posting replies, check, can l, post, administrators who have change user information permissions, delete a user, management plate, can add, delete, modify plate information, be responsible for the management of posts set-top essence.
Keywords: campus BBS; MVC; The JSP; SQL Server
目 录
第一章 概述 4
1.1开发背景 4
1.2 相关技术简介 4
1.2.1 JavaBeans技术简介 5
1.2.2 JSP技术简介 5
1.2.3 SQL Server数据库简介 6
1.2.4 MyEclipse简介 7
1.3 开发模式介绍 7
1.4服务器配置 8
1.4.1 JDK的安装和配置 8
1.4.2 TOMcat的安装和配置 9
第二章 系统需求分析 10
2.3 开发环境 11
2.3.1 硬件环境 11
2.3.2 软件环境 11
第三章 总体设计 12
3.1 功能结构设计 12
3.2 功能模块介绍 13
第四章 数据库设计 17
4.1 数据库的安装 17
4.2 数据库概念结构设计 18
4.3 数据库逻辑结构设计 19
4.4 数据库的连接 21
第五章 功能模块的设计与实现 22
5.1 主页面 22
5.2用户登录注册模块设计 22
5.2.1用户登录 22
5.2.2用户注册 23
5.3 帖子相关界面 24
5.3.1发新帖子 24
5.3.2浏览帖子 26
5.3.3帖子列表 28
5.4 新闻模块 28
第六章 后台管理模块实现 30
6.1后台管理 30
6.1.1管理员登陆模块 30
6.2 论坛管理 30
6.2.1添加论坛分类 31
6.2.2 删除论坛分类 32
6.2.3 编辑论坛 32
6.3 用户管理 32
6.4 新闻管理 33
结 束 语 34
参考文献 35
第一章 概述
1.1开发背景
在互联网技术高速发展的推动下,互联网跨入了虚拟社区时代。根据2010年1月《第25次中国互联网发展状况统计报告》,我国上网的3.84亿人中有38.8%使用论坛、BBS等各种形式的虚拟社区,用户规模达到9822万人,在网络应用中排名第九,已经跻身十大网络应用之列。校园论坛系统发展势头非常迅猛。
论坛是电子公告板系统(Bulletin Board System),它通过在计算机上运行服务软件,允许用户使用终端程序通过电话调制解调器拨号或者Internet来进行连接,执行下载数据或程序、上传数据、阅读新闻、与其它用户交换消息等功能。论坛系统开发技术发展至今,从CGI,ASP,到PHP已经日趋成熟,功能也更加丰富,但携着Sun公司的Java技术所实现的“一次编写,到处运行”的优势,继承这一衣钵的JSP技术越来越受到人们的注视。为了进行更好的交流。