奇峰零食电商系统
2015年 3 月 21 日目录
ABSTRACT
With the rapid development of network, more and more people use the Internet to purchase goods remain within doors, the little mouse will be able to sit to buy the items they need at home, so online shopping become more and more young people and even the choice of the aged, and one has to improve the function of the electricity supplier website is more and more important.
This paper discusses the "peaks near the school tuck shop" online shopping website design and implementation process. Strict compliance with the norms of software engineering in the design and the development process of the system, the feasibility analysis from the economic technology and operation, and use the software design patterns, so as to reduce the coupling among mod *好棒文|www.hbsrm.com +Q: ¥3^5`1^9`1^6^0`7^2$
ules, and strive to achieve system stability, reusability and extensibility. According to the design of the electricity supplier website contains snacks visitors register, login, browse merchandise, merchandise selection, authentication, select Modify purchase quantity to determine the purchase operation. The system uses the MVC structure, using Java web development technology, using MySQL as a database management tool. 一、引言
零食作为风靡在学生群体中的食物,因为其相对低廉的价格和多样美味的口感,一直都是学生们去超市购物的主要消费品。而如何能让学生以更快捷的方式足不出户购买到零食也成为了一大商机,零食电商网站也就应运而生。
电商网站就是电子商务的典型代表。现在例如淘宝、京东、亚马逊等知名电商网站的蓬勃发展,坐在家中足不出户仅仅点几下鼠标就能买到心仪的东西。
本课题所实现的零食电商网站是面向所有互联网用户的,采用了当前流行的MVC架构,通过Java web和MySQL数据库完成该系统。
二、使用工具或开发环境的描述
按照一般想法来做这个工程分成下面几个步骤:需求分析、系统设计、编写代码、系统的测试。
系统运行环境
操作系统:Windows7.0系统。
数据库管理系统:MySQL。
服务器软件: tomcat7.0。
开发环境
操作平台:Windows 7。
开发环境:MyEclipse10。
开发语言:JavaWeb。
调试的环境:Internet Explorer6.0及以上版本。
数据库运行环境:MySQL。
三、需求分析
用户需求分析
一是前台顾客购买功能,客户进入网站首页可以查看最新上市的商品,正在搞活动的商品,热卖的商品,分类商品以及相关内容。当用户选中某款商品时可以进行登录购买,如果不是本站会员也可以进行注册,然后再继续购买。?
二是用户的后台管理功能。不同的用户有不同的权限,如果是管理员,可以实现商品的添加与商品信息和用户信息的修改、活动商品的管理、对违法用户的删除,订单的查看与管理等功能,如果是普通用户则只能对自己信息的修改,自己订单的查询等操作;
系统功能需求分析
管理员对零食网站已注册会员的管理(用户信息的查看、修改和删除),商品的管理(商品的添加,删除,对商品信息的查看和更新),订单的管理(订单的查看和删除)等。
普通用户在网站首页了解相关信息发布(推荐商品、热卖商品、全部商品种类),用户信息的管理(用户登录、修改密码、选购零食、自助下单、订单提交、订单查看)。
安全性分析
1.权限安全性
系统主要设计了两个用户权限:管理员、消费者。不同的角色也拥有不同的权限与功能,通过所登录地址的不同进行区分。
2.异常处理
系统的异常处理时,同时会向你发出相应的警告,来告知你的操作错误,以及让你作出修改,如果是非机房管理员登录发现密码和用户名以及验证码输入不正确时,将无法进入该系统。
四、数据库设计
数据(处理)流程分析
系统下的以下几个版块,就是这个系统的几大功能管理了。详情如图所示(如图4-1)
图4-1数据流程图
全局E-R图
图4-2全局E-R图
数据表结构设计
本程序在数据库中共设计了5张数据表,具体情况如下:
用户信息表
表3-1用户信息表(user_info)
字段名
数据类型
字段描述
长度
主键
ID
Int
编号
12
√
UserName
varchar
用户名
20
PassWord
Varchar
密码
20
Varchar
问题
20
Answer
Varchar
Varchar
目标
20
regDate
varchar
Code
Varchar
编码
20
ABSTRACT
With the rapid development of network, more and more people use the Internet to purchase goods remain within doors, the little mouse will be able to sit to buy the items they need at home, so online shopping become more and more young people and even the choice of the aged, and one has to improve the function of the electricity supplier website is more and more important.
This paper discusses the "peaks near the school tuck shop" online shopping website design and implementation process. Strict compliance with the norms of software engineering in the design and the development process of the system, the feasibility analysis from the economic technology and operation, and use the software design patterns, so as to reduce the coupling among mod *好棒文|www.hbsrm.com +Q: ¥3^5`1^9`1^6^0`7^2$
ules, and strive to achieve system stability, reusability and extensibility. According to the design of the electricity supplier website contains snacks visitors register, login, browse merchandise, merchandise selection, authentication, select Modify purchase quantity to determine the purchase operation. The system uses the MVC structure, using Java web development technology, using MySQL as a database management tool. 一、引言
零食作为风靡在学生群体中的食物,因为其相对低廉的价格和多样美味的口感,一直都是学生们去超市购物的主要消费品。而如何能让学生以更快捷的方式足不出户购买到零食也成为了一大商机,零食电商网站也就应运而生。
电商网站就是电子商务的典型代表。现在例如淘宝、京东、亚马逊等知名电商网站的蓬勃发展,坐在家中足不出户仅仅点几下鼠标就能买到心仪的东西。
本课题所实现的零食电商网站是面向所有互联网用户的,采用了当前流行的MVC架构,通过Java web和MySQL数据库完成该系统。
二、使用工具或开发环境的描述
按照一般想法来做这个工程分成下面几个步骤:需求分析、系统设计、编写代码、系统的测试。
系统运行环境
操作系统:Windows7.0系统。
数据库管理系统:MySQL。
服务器软件: tomcat7.0。
开发环境
操作平台:Windows 7。
开发环境:MyEclipse10。
开发语言:JavaWeb。
调试的环境:Internet Explorer6.0及以上版本。
数据库运行环境:MySQL。
三、需求分析
用户需求分析
一是前台顾客购买功能,客户进入网站首页可以查看最新上市的商品,正在搞活动的商品,热卖的商品,分类商品以及相关内容。当用户选中某款商品时可以进行登录购买,如果不是本站会员也可以进行注册,然后再继续购买。?
二是用户的后台管理功能。不同的用户有不同的权限,如果是管理员,可以实现商品的添加与商品信息和用户信息的修改、活动商品的管理、对违法用户的删除,订单的查看与管理等功能,如果是普通用户则只能对自己信息的修改,自己订单的查询等操作;
系统功能需求分析
管理员对零食网站已注册会员的管理(用户信息的查看、修改和删除),商品的管理(商品的添加,删除,对商品信息的查看和更新),订单的管理(订单的查看和删除)等。
普通用户在网站首页了解相关信息发布(推荐商品、热卖商品、全部商品种类),用户信息的管理(用户登录、修改密码、选购零食、自助下单、订单提交、订单查看)。
安全性分析
1.权限安全性
系统主要设计了两个用户权限:管理员、消费者。不同的角色也拥有不同的权限与功能,通过所登录地址的不同进行区分。
2.异常处理
系统的异常处理时,同时会向你发出相应的警告,来告知你的操作错误,以及让你作出修改,如果是非机房管理员登录发现密码和用户名以及验证码输入不正确时,将无法进入该系统。
四、数据库设计
数据(处理)流程分析
系统下的以下几个版块,就是这个系统的几大功能管理了。详情如图所示(如图4-1)
图4-1数据流程图
全局E-R图
图4-2全局E-R图
数据表结构设计
本程序在数据库中共设计了5张数据表,具体情况如下:
用户信息表
表3-1用户信息表(user_info)
字段名
数据类型
字段描述
长度
主键
ID
Int
编号
12
√
UserName
varchar
用户名
20
PassWord
Varchar
密码
20
Varchar
问题
20
Answer
Varchar
Varchar
目标
20
regDate
varchar
Code
Varchar
编码
20
版权保护: 本文由 hbsrm.com编辑,转载请保留链接: www.hbsrm.com/jsj/rjgc/1622.html