当前位置:首页 > 办公自动化系统的考勤管理模块的设计与实现毕业论文
本 科 毕 业 论 文(设计)
院 系
软件学院
题 目 基于SSH框架的BBS系统的帖子模块的设计与实现 学生姓名 刘东华 学 号 071251083 年 级 2007级 专 业 软件工程 指导教师 职 称 论文提交日期
I
南京大学软件学院本科毕业论文
摘 要
通过对BBS的发展过程和趋势以及现阶段国内外Web应用中动态页面技术的分析,开发一个界面简洁高效、用户体验较好和易于扩展的在线论坛系统是十分必要的,因此我们选择使用JSP和SSH框架来开发这个BBS项目。
基于SSH框架的BBS系统采用MVC设计模式,利用Struts2控制业务逻辑和表现层的交互,使用Spring的IoC容器来管理Bean的依赖注入,并且采用功能完善的Hibernate框架实现对象的持久化,在前台页面设计上使用了Javascript、Div+CSS、xhEditor等技术增强用户体验。
本项目实现了基本的BBS在线论坛系统的常用功能,如浏览帖子、回复帖子、发布帖子、对帖子进行管理以及管理员的后台操作功能。主要分为五个模块:系统管理模块、版区管理模块、搜索模块、统计模块和帖子模块。本篇论文介绍的是帖子模块,主要是实现帖子的业务逻辑操作及相应的前台页面显示。
关键词:BBS项目,SSH框架,J2EE
I
南京大学软件学院本科毕业论文
Abstract
Based on the analysis of the development and the trend of BBS and dynamic pages in Web application around the world, develop a simple, efficient and easy to expand online BBS system is very necessary, So finally we chose to use the JSP technology and SSH framework to develop this BBS project.
The BBS system which based on SSH framework take the advantage of the MVC design patterns, using Struts2 to control the interaction between business logic and the presentation layer, using Spring’s IoC container to manage injection of the depended Bean, and using the fully functional Hibernate framework to achieve the persistence of the bean object. Javascript and Div + CSS technology are applied in the design of the front jsp pages and use xhEditor toolkit to enhance the user experience. The project implements the basic features of online bbs system, such as read posts, give a reply to a specific post, publish a new post and manage the post. This project mainly divided into five modules : system management module, section and board management module, search module, statistic module and post module. This paper is to introduce the post module, which achieves the operation of business logic for posts and the display of the corresponding front pages.
Keywords:BBS project, SSH framework, J2EE technology
II
南京大学软件学院本科毕业论文
目 录
摘 要 ............................................................................................................................ I Abstract ......................................................................................................................... II 目 录 ......................................................................................................................... III 第一章 概述/绪论 ........................................................................................................ 1
1.1 项目背景.......................................................................................................... 1 1.2 国内外Web应用技术现状 ............................................................................ 1 1.3 论文主要工作/组织结构 ................................................................................ 2 第二章 技术概述 ......................................................................................................... 3
2.1
J2EE技术 ..................................................................................................... 3 2.1.1 JDBC ....................................................................................................... 3 2.1.2 JSP........................................................................................................... 4 2.2
SSH技术 ...................................................................................................... 4 2.2.1 2.2.2 2.2.3 2.3
2.3.1 2.3.2 2.4
2.4.1 2.4.2 2.4.3 2.5 3.1 3.2
Struts2.x ............................................................................................. 5 Spring2.x ............................................................................................ 6 Hibernate3.x ....................................................................................... 7 Div...................................................................................................... 8 CSS .................................................................................................... 9 Javascript............................................................................................ 9 Ajax .................................................................................................... 9 JQuery ................................................................................................ 9
Div+CSS技术 .............................................................................................. 8
Javascript/Ajax/JQuery技术 ....................................................................... 9
xhEditor技术 ............................................................................................. 10 项目总体目标......................................................................................... 11 项目需求................................................................................................. 11 3.2.1 3.2.2 3.2.3
一般性需求...................................................................................... 11 功能性需求...................................................................................... 11 具体功能点需求.............................................................................. 13 后台逻辑.......................................................................................... 16
III
第三章 基于SSH框架的BBS项目概述................................................................. 11
3.3 项目总体设计......................................................................................... 16 3.3.1
共分享92篇相关文档