当前位置:舍宁秘书网 > 专题范文 > 教案设计 > 基于SSH新闻发布系统设计与实现

基于SSH新闻发布系统设计与实现

时间:2022-07-03 15:00:05 来源:网友投稿

下面是小编为大家整理的基于SSH新闻发布系统设计与实现,供大家参考。

基于SSH新闻发布系统设计与实现

 

  基于 SSH 的新闻发布系统的设计与实现 摘 要 随着 Internet 的普及,越来越多的企业纷纷建立了自己的门户网站,来展示产品、与用户进行交流、与合作伙伴建立联系以及开展电子商务等。新闻发布系统是企业门户网站的重要组成部分,因此开发新闻发布系统是适应企业发展的一种需要。

 系统采用 Java 语言,浏览器/服务器(B/S)模式,Struts、Hibernate 和Spring(SSH)三层架构进行开发,实现了新闻栏目的分类、新闻的添加、审核、发布、评论、回复等功能。在新闻管理模块中,将通过审核的新闻生成静态 Html 文件存放在服务器指定位置并发布,提高了用户的访问速度。论文首先对系统的功能、架构、数据库等进行了分析与设计,然后对系统的栏目管理、新闻管理、评论管理等模块进行了详细设计与实现。

 系统测试表明各项功能达到了预期效果,具有较好的安全性和容错性。下一步考虑增加在后台根据需要定制前台显示模板的功能,不断完善系统。

 关键词:新闻发布系统,B/S,SSH

  The Design and Implementation of the News Released System Based on SSH Abstract With the great popularity of network, an increasing number of enterprises are looking forward to establishing their own websites, through which they can display products, communicate with clients, establish partnership, as well as develop e-commerce. In a word, it has been a necessity for enterprises to establish their own news release system which is one of the most important parts for enterprises to keep pace with the social development. The system is designed and implemented based on SSH three-tier architecture using Java language and browser/server (B/S) mode. The functions of the news release system include news categories, adding, auditing, releasing, commenting, recovery and etc. It is worthwhile mentioning that it is through the generated static HTML files which have been examined and stored on the server specified location that news are released, thus being greatly helpful in speeding up the users’ browse rate. First of all, the essay analyses and designs the functions, the architecture ,the database of the system; then presents a detailed design and implementation aiming at column management, news management, comment management, system management and so on. At present, the system has realized the functions that are expected on the whole, which has better security, fault tolerance. Even so, it can’t deny that the system hasn’t accomplished the function of customizing background display template without any special requirements considering the workload and time permission. More study and improvement on the news release system will be implemented in the future.

 Keywords: news released system, B/S, SSH

 1 目录 1 绪论 .............................................................................................................................1 1.1 开发背景及意义 .............................................................................................. 1 1.2 应用现状 .......................................................................................................... 1 1.3 本文工作 .......................................................................................................... 2 1.4 论文结构安排 .................................................................................................. 3 1.5 本章小结 .......................................................................................................... 4 2 技术及工具介绍 .........................................................................................................5 2.1 B/S 模式 ............................................................................................................ 5 2.2 UML .................................................................................................................. 5 2.3 相关技术 .......................................................................................................... 6 2.3.1 SSH 框架 ................................................................................................. 6 2.3.2 AJAX ....................................................................................................... 7 2.3.3 JSON-RPC 框架 ...................................................................................... 7 2.4 开发工具 .......................................................................................................... 7 2.4.1 Tomcat 服务器 ........................................................................................ 7 2.4.2 MySQL 数据库管理工具 ....................................................................... 8 2.4.3 MyEclipse 编程工具 ............................................................................... 8 2.5 本章小结 .......................................................................................................... 8 3 需求分析 .....................................................................................................................9 3.1 业务流程 .......................................................................................................... 9 3.2 设计目标 ........................................................................................................ 10 3.3 功能需求 ........................................................................................................ 10 3.4 性能需求 ........................................................................................................ 15 3.5 本章小结 ........................................................................................................ 16 4 总体设计 ...................................................................................................................17 4.1 架构设计 ........................................................................................................ 17 4.2 功能设计 ........................................................................................................ 18 4.3 数据库设计与实现 ........................................................................................ 19 4.3.1 数据需求 .............................................................................................. 19 4.3.2 概念结构设计 ...................................................................................... 21 4.3.3 逻辑结构设计 ...................................................................................... 22 4.3.4 数据库实现 .......................................................................................... 23

 基于 SSH 的新闻发布系统的设计与实现 2 4.4 接口设计 ........................................................................................................ 24 4.5 本章小结 ........................................................................................................ 26 5 详细设计与实现 .......................................................................................................27 5.1 界面设计 ........................................................................................................ 27 5.1.1 设计原则 .............................................................................................. 27 5.1.2 详细设计 .............................................................................................. 28 5.2 功能详细设计与实现 .................................................................................... 29 5.2.1 栏目管理 .............................................................................................. 29 5.2.2 新闻管理 .............................................................................................. 31 5.2.3 评论管理 .............................................................................................. 33 5.2.4 系统管理 .............................................................................................. 34 5.2.5 前台交互 .............................................................................................. 36 5.3 关键问题解决方案 ........................................................................................ 40 5.3.1 无限级栏目树设计 .............................................................................. 40 5.3.2 文本编辑器使用 .................................................................................. 41 5.3.3 静态新闻文件生成 .............................................................................. 41 5.4 本章小结 ........................................................................................................ 42 6 测试 ...........................................................................................................................43 6.1 测试计划 ........................................................................................................ 43 6.1.1 测试目的 .............................................................................................. 43 6.1.2 测试环境 .............................................................................................. 43 6.1.3 功能测试计划 ...................................................................................... 44 6.2 功能测试 ........................................................................................................ 44 6.3 用户界面测试 ................................................................................................ 45 6.4 问题严重程度描述 ........................................................................................ 45 6.5 测试结果 ........................................................................................................ 46 6.6 本章小结 ........................................................................................................ 46 7 结束语 .......................................................................................................................47 7.1 总结 ................................................................................................................ 47 7.2 展望 ................................................................................................................ 48 附

 录 ...........................................................................................................................49 参考文献 .......................................................................................................................53 致

 谢 ...........................................................................................................................54...

推荐访问:基于SSH新闻发布系统设计与实现 发布系统 设计 新闻

猜你喜欢