在线论坛
摘 要
为了方便大家的沟通和获取信息,特构建一个在线论坛系统。该系统以Internet为平台,采用B/S架构,使用Java作为后台开发语言,前台页面采用JSP做显示,同时使用Tiles标签,EL表达式,JavaScript和Ajax等更加方便的实现动态显示数据,底层数据库采用Mysql5.0。系统采用MVC模式设计,Struts1.0的Action作为控制器,使用Hibernate3.0进行数据持久化,从而提高开发效率和系统反应速度。系统对于游客、普通用户、版主、管理员等角色提供了用户注册、登录、浏览帖子及其评论,发帖、回复帖子、引用帖子,帖子管理,后台管理等操作,并对于不同的角色有不同的权限。系统采用富文本编辑器编辑帖子和回复,能够发送图片、附件、视频、Flash等,使我们的交流更加丰富多彩。并且系统具有附件上传,站内信,用户相片设置、主题更改等功能。系统最终实现了一个基于信息交流的中小型在线论坛。
关键词: 在线论坛; Struts; Hibernate; JSP
ABSTRACT
To facilitate the communication and access to information, particularly on building a Online Forum System. The system uses Internet as a platform, the use of B / S structure, using the Java programming language, the page display using JSP to do while using the Tiles tags, EL expressions, JavaScript, and Ajax and so more convenient for dynamic display data, the underlying database By Mysql5.0. System uses the MVC model design, Struts1.0 of Action as a controller, the use of persistent data Hibernate3.0 to improve development efficiency and system response speed. System for tourists, ordinary users, moderators, administrators and other roles provided: user registration, login and post their comments, post, reply to post, reference post, post management, operations management background, and the different roles have different permissions. System uses a rich text editor to edit posts and replies, can send pictures, accessories, video, flash, to make our communication more colorful. And the system has the attachment upload, station information, photos user settings, the theme changes and other functions. Finally implemented a system based on small and medium online forum for information exchange.
Key words: Online Forum; Struts; Hibernate; JSP
目 录
一、 绪论 1
1.1选题背景及意义 1
1.2国内外研究现状 1
1.3在线论坛的发展趋势 2
二、 系统可行性分析 4
2.1系统开发目标 4
2.2系统可行性分析 4
2.2.1技术可行性分析 4
2.2.2经济可行性分析 4
2.2.3开发环境可行性 4
2.3开发环境和相关技术介绍 4
三、 系统需求分析 7
3.1系统功能需求 7
3.2 系统UML建模 7
3.2.1系统用例图的建立 7
3.2.2时序图的建立 9
3.3系统性能需求 12
3.4数据需求 12
四、 系统功能模块分析与设计 14
4.1系统结构分析 14
4.2系统流程分析 14
4.3系统功能模块设计 16
五、 系统数据库设计 18
5.1数据库需求分析 18
5.2实体关系分析 18
5.21 实体模型分析 18
5.12 实体联系分析 20
5.3系统数据库逻辑结构设计 21
5.4 系统数据库的创建 23
六、 系统功能模块详细设计 24
6.1 设计与搭建构架 24
6.1.1设计视图层 24
6.1.2 设计控制层 24
6.1.3 数据访问层 25
6.2 系统功能模块实现 26
6.2.1登录模块的实现 26
6.2.2主界面的实现 27
6.2.3注册模块的实现 27
6.2.4发帖、回复的实现 29
6.2.5上传功能的实现 29
6.2.6后台管理的实现 30
七、 系统测试 32
7.1 前台界面运行效果 32
7.2 后台运行效果 33
结束语. 35
参考文献 36
致 谢 . 37
一、 绪论
1.1选题背景及意义
在二十一世纪,地球因为互联网的存在,早已变成一个村落。
上一篇:
基于googleandroid平台电子辞典软件设计与实现-V0.11(word文档)
下一篇:
猪疥癣病的防治