本科毕业设计(论文)
题 目 网上购物系统后台分析与实现
指导教师 职称 讲师
学生姓名 学号
专 业计算机科学与技术 班级
院 (系) 电子信息工程学院
完成时间 2009 年 5 月 1 日
网上购物系统后台分析与实现
II
摘 要
本网上购物系统是一个基于 Internet,采用 B2C(Business to Consumers)
[1]
模式,并根据
现有的网上购物系统的现状而设计开发的电子商务平台。它不但可以扩大商家的规模和
市场影响力,而且可以减少企业的经营成本,提高工作效率。
本文首先介绍了网上购物系统的现状及开发背景,然后论述了系统的设计目标,系
统需求和总体设计方案,较详细的论述了系统的详细设计和实现。最后,本文对网上购
物系统进行了系统检测并提出了还需要改进的问题。
本系统主要为用户提供了会员注册,购物车管理,商品搜索,用户资料修改等功能,
为管理员提供了商品管理,用户信息管理,新闻信息管理,广告链接管理等功能。在设
计方面,本系统采用 B/S 三层结构,同时使用 JSP 技术进行动态页面的设计,从系统的
安全性和代码的可重用性方面考虑,运用 JavaBean 对程序的关键代码进行封装。后台数
据库选用 Access 数据库。
关键词 B/S 结构/JavaBean/JSP/Access
III
THE ANALYSIS AND REALIZATION
OF THE SHOP ONLINE SYSTEM
ABSTRACT
The shop online system is a electronic commercial platform which has been designed
according to the situation of shop online system based on Internet with B2C mode. It can not
only enhance the scale of shopping centre and market influence, and can also reduce the
enterprise’s running cost, improve work efficiency.
The thesis has firstly introduced the practical situation and the developing background of
the system. And then has described the designing goal、system need and the whole designing
plan, has described the detailed design and reality of the system in detail. Finally, conclusion
has been drawn about the system and problem has also been raised.
The system has mainly provided users with the following functions: membership
registration、shopping car management、goods search、information modify etc. It has also
provided managers with goods management 、 customer information management 、 news
management 、ad management and so on. It has been designed with B/S mode of three-tier
structure, JSP technology in dynamic page design. Considering from the security and reusing
code of the system, key codes has been secured by JavaBean technology. Access database has
been used as the background database.
Key Words B/S, structure,JavaBean, jsp ,access
1
目 录
中文摘要………………………………………………………………………………Ⅰ
英文摘要………………………………………………………………………………Ⅱ
1 网上购物系统绪论-------------------------------------------------------------------------4
1.1 系统开发背景 .....................................................................................................4
1.1.1 网上购物的发展 ---------------------------------------------------------------------4
1.1.2 网上购物系统的现状---------------------------------------------------------------4
1.2 系统实现的目标..................................................................................................5
1.3 系统的开发意义..................................................................................................5
2 网上购物系统分析--------------------------------------------------------------------------7
2.1 网站的设计目标..................................................................................................7
2.2 网站的可行性分析.............................................................................................7
2.3 网站的深入调查..................................................................................................8
2.4 网站设计的特点..................................................................................................8
2.5 网站开发的设计思想 ........................................................................................8
2.6 系统设计的总体规则 ........................................................................................9
3 系统的开发技术及主要架构-------------------------------------------------------10
3.1 开发技术的选择 ...............................................................................................10
3.2 系统的主要架构及开发模式........................................................................11
3.2.1 基于 B/S 的体系结构 -------------------------------------------------------------11
3.2.2 基于 MVC 的应用开发模型 -------------------------------------------------------12
4 系统的功能和流程分析---------------------------------------------------------------14
4.1 网站的功能分析 ...............................................................................................14
4.2 平台功能模块的设计分析............................................................................14
4.3 系统流程分析...................................................................................................15
4.3.1 前台购物流程如图 4-2 所示----------------------------------------------------15
4.3.2 注册功能流程如图 4-3 所示 ----------------------------------------------------15
4.3.3 商品搜索流程如图 4-4 所示 ----------------------------------------------------16
4.3.4 用户登录流程如图 4-5 所示 ----------------------------------------------------17
4.3.5 商品管理流程如图 4-6 所示 ----------------------------------------------------17
4.3.6 购物车流程如图 4-7 所示 -------------------------------------------------------18
5 系统功能的具体实现-------------------------------------------------------------------18