logo资料库

基于SSH的美食论文.doc

第1页 / 共75页
第2页 / 共75页
第3页 / 共75页
第4页 / 共75页
第5页 / 共75页
第6页 / 共75页
第7页 / 共75页
第8页 / 共75页
资料共75页,剩余部分请下载后查看
1前言
2相关技术简介
2.1Jsp简介
2.2JAVA概况及特点
2.3Mysql简介
2.3.1 Mysql应用概述
2.3.2 Mysql的优势
2.4AJAX技术
2.5JavaScript
2.6SSH框架概述
2.6.1Strut
2.6.2Spring
2.6.3Hibernate
2.7MyEclipse简介
3需求分析
3.1可行性分析
3.2系统需求分析
3.3系统用例图
3.3.1前台用例图
3.3.2后台用例图
3.4数据库设计
3.4.1数据库设计概念模型图
3.4.2数据库设计物理模型图
3.4.3数据字典
3.5系统需求环境
4详细设计
4.1系统总体设计
4.2系统所用技术体系架构
4.3前台系统流程图
4.3.1游客浏览流程
4.3.2会员操作流程
4.4系统结构与功能
4.4.1前台服务系统模块
4.4.2后台服务系统模块
5系统代码实现
5.1系统结构实现
5.1.1结构描述
5.1.2系统前台主页
5.1.3系统后台主页
5.2工具类实现
5.2.1 MD5加密的主要代码
5.2.2 判断是否空字符串
5.2.3HibernateUtil
5.3JS代码
5.3.1与后台交换的JS代码
5.4前台代码(部分功能)
5.4.1会员注册功能
5.4.2购物车代码
5.4.3个人订单
5.4.4取回密码
5.5后台代码(部分功能)
5.5.1评论删除
5.5.2公告修改
5.5.3地区添加
5.5.4美食列表
5.5.5会员权限管理
6系统测试
6.1.1单元测试
6.1.2黑盒测试
7结论
参考文献
致 谢
本科毕业论文(设计) 基于 SSH 美食商城系统的设计与开发 二级学院 信息工程学院 计算机科学与技术(医学应 用) 2009 级(2)班 专 班 业 级 学生姓名 学 号 指导教师 2012 年 12 月
诚 信 声 明 我声明,所呈交的毕业论文(设计)是本人在老师指导下进行的研究工作及 取得的研究成果。据我查证,除了文中特别加以标注和致谢的地方外,论文(设 计)中不包含其他人已经发表或撰写过的研究成果,也不包含为获得其他教育机 构的学位或证书而使用过的材料。我承诺,论文(设计)中的所有内容均真实、 可信。 毕业论文(设计)作者(签名): 年 月 日
基于 SSH 美食商城系统的设计与开发 【摘要】 中国自古以来就有“国以民为本,民以食为天”的说法,在改革开放以后, 随着国民生活水平的不断提高和全球经济一体化的发展,国民对饮食消费理性 化、经营的特色化和市场细分化的特点日益突现。顾客对食品的选择和多样性的 特点明显,并且顾客更加追求的是各地方的美食特色、营养健康和环境服务的综 合水平。如今顾客对特色美食行业的要求不断提高,美食行业的创新能力必须不 断的提升才能满足顾客。随着美食行业市场的不断变化对业界提出了一系列的要 求,而通过电子商务网站形式加强此行业的竞争力已经成为一种趋势,所以我设 计了美食商城系统。 本文介绍了基于 SSH 美食商城系统主要分为两大部分,后台管理系统,前台 购物系统,每个功能模块包含多个子功能模块。后台:管理员修改个人资料、美 食上架、美食下架、美食更改、美食查找、订单查找、订单确认、分类的增删改 查、公告的增删改查、留言删除、留言查找、会员查询、会员删除、会员修改权 限。前台:用户登陆、用户注册、美食查找、美食购买、查看订单、美食留言、 修改资料、找回密码、公告查找。 本系统是以 Java 语言开发,MyEclipse 作为开发平台、前端采用 JSP 技术、 数据库采用 MySQL、数据库建模采用 PowerDesigner、系统功能分析采用 Jude、 全面系统的介绍了整个软件的开发过程以及如何熟悉的建构系统、在本系统的设 计过程中结合运用了 SSH 框架技术,实现了中小型的美食商城系统。经历了比较 完整的项目开发并总结了开发经验。 【关键词】 美食商城;MySQL 数据库;SSH 框架;JSP 技术;
Based on SSH food mall system design and development [Abstract] the national food consumption to rational, China since ancient times have "countries regarding the people as the foundation, the food is what matters to the people" view, in after the reform and opening up, along with the national living standard continuously improved and the integration of the global economy, the management characteristic and market differentiation characteristics increasingly emergence. The customer to food choices and the characteristics of diversity obviously, and the customer more are in pursuit of the local cuisine features, nutrition and health and environmental service comprehensive level. Now customers of characteristic food industry requirements continuously improve, food industry innovation ability must constantly ascending to satisfy customer. With the constant change of the market food industry to industry put forward a series of requirements, and through the e-commerce sites forms to strengthen the competitiveness of the industry has become a kind of trend, so I designed food mall system. This paper introduces the based on SSH food mall system mainly divided into two parts, background management system, front desk shopping system, each function module contains more than one function module. Background: administrator to change the personal data, food shelf, food next frame, food change, food search, order search, order confirmation, classification of increasing deletion check, announcement increase deletion check, messages, and delete, message search, delete, query, member of the member of the member modify permissions. Front desk: the user login, user registration, food search, food purchase, check orders, food message, modifying material, security, public announcement search. This system based on Java development, MyEclipse as a development platform, front end use JSP technology, database using MySQL, database modeling using PowerDesigner, system function analysis using Jude, comprehensive system introduces the entire software development process and how to familiar with
construction system, in the system design process combined with using SSH framework technology, realize the small and medium-sized food mall system. Experienced a relatively complete project development and summarizes the development experience. [Keywords] Food mall; MySQL database; SSH framework; JSP technology;
目 录 1 前言........................................................................................................1 2 相关技术简介........................................................................................2 Jsp 简介 ......................................................2 2.1 2.2 JAVA 概况及特点 ...............................................3 Mysql 简介 ....................................................3 2.3 2.3.1 Mysql 应用概述 .............................................. 3 2.3.2 Mysql 的优势 ................................................ 4 2.4 2.5 2.6 AJAX 技术 .....................................................4 JavaScript ................................................... 5 SSH 框架概述 ..................................................5 2.6.1 Strut .......................................................5 2.6.2 Spring ......................................................6 2.6.3 Hibernate ...................................................7 2.7 MyEclipse 简介 ................................................8 3 需求分析................................................................................................9 3.1 系统需求分析 ................................................ 10 3.2 系统用例图 .................................................. 10 3.2.1 前台用例图 .................................................10 3.2.2 后台用例图 .................................................10 3.3 可行性分析 ................................................... 9 3.4 系统需求环境 ................................................ 20 4 详细设计..............................................................................................20 4.1 系统总体设计 ................................................ 20 4.1.1 需求概述 ...................................错误!未定义书签。 4.1.2 项目结构 ...................................错误!未定义书签。 4.2 系统所用技术体系架构 ........................................ 22 4.3 系统结构与功能 .............................................. 24 4.3.1 前台服务系统模块 ...........................................24 4.3.2 后台服务系统模块 ...........................................26 4.4 前台系统流程图 .............................................. 23
4.4.1 游客浏览流程 ...............................................23 4.4.2 会员操作流程 ...............................................24 4.5 数据库设计 .................................................. 13 4.5.1 数据库设计概念模型图 .......................................13 4.5.2 数据库设计物理模型图 .......................................14 4.5.3 数据字典 ...................................................15 5 系统代码实现......................................................................................31 5.1 系统结构实现 ................................................ 31 5.1.1 结构描述 ...................................................31 5.1.2 系统前台主页 ...............................................31 5.1.3 系统后台主页 ...............................................32 5.2 工具类实现 .................................................. 33 5.2.1 MD5 加密的主要代码 ......................................... 33 5.2.2 判断是否空字符串 ...........................................35 5.2.3 HibernateUtil ..............................................35 5.3 JS 代码 ......................................................36 5.3.1 与后台交换的 JS 代码 ........................................36 5.4 前台代码(部分功能) .......................................... 37 5.4.1 会员注册功能 ...............................................37 5.4.2 购物车代码 .................................................39 5.4.3 个人订单 ...................................................45 5.4.4 取回密码 ...................................................47 5.5 后台代码(部分功能) .......................................... 49 5.5.1 评论删除 ...................................................49 5.5.2 公告修改 ...................................................51 5.5.3 地区添加 ...................................................54 5.5.4 美食列表 ...................................................55 5.5.5 会员权限管理 ...............................................57 6 系统测试..............................................................................................60 6.1.1 单元测试 ...................................................60 6.1.2 黑盒测试 ...................................................61
7 结论......................................................................................................65 参考文献...................................................................................................66 致 谢...................................................................................................67
分享到:
收藏