I
家乡水果推荐平台系统设计与实现
摘 要
本家乡水果推荐平台系统是针对目前平台的实际需求,从实际工作出发,对过去的
家乡水果推荐平台系统存在的问题进行分析,结合计算机系统的结构、概念、模型、原
理、方法,在计算机各种优势的情况下,采用目前最流行的 ssm 框架和 eclipse 编辑器、
mysql 数据库设计并实现的 。本家乡水果推荐平台系统主要包括登录模块、新闻文章管
理模块、水果信息管理模块、求购信息管理模块、和退出模块等多个模块。它帮助家乡
水果推荐平台实现了信息化、网络化,通过测试,实现了系统设计目标,相比传统的管
理模式,本系统合理的利用了网络数据资源,有效的减少了家乡水果推荐平台的经济投
入,大大提高了家乡水果推荐平台的效率。
关键词:ssm;mysql;家乡水果推荐平台系统
II
ABSTRACT
This hometown fruit recommendation platform system is aimed at the actual needs of the
current platform. From the actual work, the problems existing in the past hometown fruit
recommendation platform system are analyzed, and the structure, concept, model, principle,
and method of the computer system are combined. Designed and implemented with the most
popular SSM framework and eclipse editor and MySQL database in the context of various
computer advantages. This hometown fruit recommendation platform system mainly includes
login module, news article management module, fruit information management module,
purchase information management module, and exit module. It has helped the fruit
recommendation platform in our hometown to realize informatization and networking.
Through testing, it has achieved the goal of system design. Compared with the traditional
management model, the system has reasonably used network data resources and effectively
reduced the economic investment of the fruit recommendation platform in our hometown. Has
greatly improved the efficiency of the home fruit recommendation platform.
KEY WORDS:ssm;mysql;Home Fruit Recommendation Platform System
III
目 录
摘 要 ...................................................................................................................................I
ABSTRACT ........................................................................................................................I
目 录...............................................................................................................................III
第 1 章 绪论.......................................................................................................................1
1.1 开发背景................................................................................................................1
1.2 开发意义................................................................................................................1
1.3 研究内容................................................................................................................1
第 2 章 主要技术和工具介绍...........................................................................................2
2.1 SSM 框架..............................................................................................................2
2.1.1. Spring 框架 ................................................................................................2
2.1.2 SpringMVC..................................................................................................3
2.1.3. MyBatis 的选用.........................................................................................3
2.2 mysql 数据库.........................................................................................................3
2.3 eclipse 与 Tomcat 简介 .........................................................................................5
第 3 章 系统分析...............................................................................................................4
3.1 可行性分析............................................................................................................4
3.1.1 经济可行性..................................................................................................4
3.1.2 技术可行性..................................................................................................4
3.1.3 操作可行性..................................................................................................4
3.2 需求分析................................................................................................................4
3.3 业务流程分析........................................................................................................5
3.4 数据流程分析........................................................................................................6
第 4 章 系统设计...............................................................................................................8
4.1 系统结构设计........................................................................................................8
IV
4.2 功能模块设计........................................................................................................8
4.3 数据库设计............................................................................................................9
4.3.1 数据库设计概述..........................................................................................9
4.3.1 概念设计......................................................................................................9
4.3.2 表设计........................................................................................................11
第 5 章 系统实现...........................................................................................................17
5.1 基本论坛..............................................................................................................17
5.2 主页面的实现......................................................................................................17
5.3 注册模块的实现..................................................................................................17
5.3 登录模块的实现..................................................................................................18
5.4 水果信息管理模块的实现..................................................................................20
5.6 新闻文章管理模块的实现..................................................................................21
5.6 求购信息管理模块的实现..................................................................................22
5.7 变幻图管理模块的实现......................................................................................23
5.8 评论管理模块的实现..........................................................................................24
5.9 留言模块的实现..................................................................................................24
第 6 章 系统测试...........................................................................................................26
6.1 测试目的..............................................................................................................26
6.2 测试概述..............................................................................................................26
6.3 单元测试..............................................................................................................26
6.3.1 登录测试....................................................................................................26
6.3.2 水果信息测试............................................................................................27
6.4 集成测试..............................................................................................................28
第 7 章 总结...................................................................................................................29
致 谢...............................................................................................................................30