当前位置:首页 > 基于MVC模式的电子商务网站的设计与实现毕业设计
题 目:毕业设计(论文)
基于MVC模式的电子商务网站的设计与实现
郑州华信学院本科毕业设计(论文)
摘要
随着电子科技的不断进步,购物不再是单一的现实购物形式,电子商务网上购物也成为日常购买商品的一种主要形式。电子商务形式的网上商店具有高效、快捷,信息畅通的特点,还可以很大程度上降低销售成本。
本文着重论述了电子商务网站的实现与设计过程。在系统的设计与开发过程中严格遵守软件工程的规范,运用MVC软件设计模式,减少软件间的耦合度,力求做到系统的稳定性、可重用性和可扩充性。系统开发工具MyEclipse 8.5,开发语言为JAVA,后台数据库使用MySql,Tomcat作为系统服务器。 电子商务网站实现的功能有用户浏览页面商品和用户登录注册等功能,用户把商品放入购物车,并且对购物车里的商品进行修改,增添和删除购物车的商品,以及改变购物车里商品的数量,最后确定后递交订单,并且可以浏览页面的商品新闻。具有最大权限的管理员可以增加,删除,修改下属的管理员。
本文的章节介绍如下:
第一章主要阐述了课题的研究背景,课题研究的意义及目的;电子商务网站的国内外现状。
第二章介绍MVC软件设计模式,电子商务网站运用何种方式实现MVC模式,并且说明了系统开发使用的工具及开发环境。
第三章对电子商务网站进行了需求分析,在需求分析的基础上,设计出数据库,各个模块的功能设计,给出系统各个模块的用例图。
第四章分别简述了各个模块的视图层,控制层和业务逻辑层的具体实现过程。对完成的系统进行了测试。
关键词:电子商务;java;MVC模式;商品管理;购物车
I
郑州华信学院本科毕业设计(论文)
Abstract
With the continuous progress of electronic science and technology,shopping is no longer a
single form of reality shopping,e-commerce online shopping has also become a major form of daily purchase of goods.The electronic commerce form of online stores have efficient, quick, information flow characteristics, still can greatly reduce the cost of sales.
This paper focuses on the e-commerce sites and the realization of the design process.In the system design and development process in strict compliance with the specification of software engineering,using the MVC software design pattern,Reduce the coupling between software,and strive to achieve system stability,reusability and scalability.System development tools,MyEclipse,development language java,database using MySql,Tomcat as the server of the system.
E-commerce sites to achieve the functionality users to browse the pages of goods and user login registration and other functions,The user the goods put the shopping cart,And modify the shopping cart of goods,Add and delete the shopping cart of goods.And the change in the number of shopping carts of goods,Submitted after the finalization of orders.The ultimate authority for the administrator can add, delete, modify the subordinate administrator. The chapters of this paper are described below:
The first chapter described the research background, the meaning and purpose of the research; domestic and international status of e-commerce site.
The second chapter describes the MVC software design pattern, e-commerce sites use what way the MVC pattern, and system development tools and development environment.
The third chapter on e-commerce site needs analysis,On the basis of needs analysis,design a database,the functional design of each module,Given the various modules of the system use case diagram.
The fourth chapter describes the various modules of the view layer, control layer and business logic implementation process.Tested the completed system
Keywords : E-commerce;java;MVC pattern;Commodity Management;shopping cart
II
郑州华信学院本科毕业设计(论文)
目录
摘要 ................................................................................................................................................. I Abstract ........................................................................................................................................... II 目录 ............................................................................................................................................... III 第一章 绪论 ................................................................................................................................... 1
1.1课题研究背景及意义 ....................................................................................................... 1 1.2电子商务网站的国内外现状及发展趋势 ....................................................................... 2 1.3本章小结 ........................................................................................................................... 3 第二章 电子商务网站设计模式 ................................................................................................... 4
2.1 MVC设计模式的概述 ..................................................................................................... 4 2.2电子商务网站应用技术及系统框架的介绍 ................................................................... 5 2.3系统的软件开发工具 ....................................................................................................... 7 2.4 本章小结 .......................................................................................................................... 7 第三章 电子商务网站的需求分析与功能设计 ........................................................................... 8
3.1 系统的需求分析 .............................................................................................................. 8 3.2 各模块的需求分析及功能设计 ...................................................................................... 9
3.2.1 新闻发布模块 ....................................................................................................... 9 3.2.2 会员管理模块 ....................................................................................................... 9 3.2.3 商品管理模块 ..................................................................................................... 10 3.2.4 购物车与订单管理 ............................................................................................. 11 3.2.5 系统用户管理与流量统计 ................................................................................. 12 3.3 本章小结 ........................................................................................................................ 13 第四章 电子商务网站的设计与实现 ......................................................................................... 14
4.1 电子商务网站数据库的设计与实现 ............................................................................ 14
4.1.1 数据库的简介 ..................................................................................................... 14 4.1.2 数据库的需求分析 ............................................................................................. 14 4.1.3 数据表结构设计 ................................................................................................. 15 4.2 数据持久层的设计与实现 ............................................................................................ 19 4.3 业务逻辑层的设计与实现 ............................................................................................ 23
4.3.1 业务逻辑接口及接口的实现 ............................................................................. 23 4.3.2 Spring配置业务逻辑组件及事务管理 .............................................................. 27 4.4 控制器的设计与实现 .................................................................................................... 29 4.5 视图层的实现 ................................................................................................................ 32 4.5 系统测试 ........................................................................................................................ 36 4.6 本章小结 ........................................................................................................................ 37 总结 ............................................................................................................................................... 38 参考文献 ....................................................................................................................................... 39 致谢 ............................................................................................................................................... 41
III
共分享92篇相关文档