基于PHP的网上购物网站含源文件毕业设计

毕业论文

题 目: 基于PHP的网上购物网站

院系名称: 专业班级:

学生姓名: 学 号: 指导教师: 教师职称:

摘要

随着Internet技术的发展,人们的日常生活已经离不开网络。未来社会人们的生活和工作将越来越依赖于Internet技术的发展,也将越来越数字化、网络化、电子化、虚拟化。电子商务也随着网络的发展日益和人们的生活贴近。Internet的发展历程以及目前的应用状况和发展趋势,可以充分地相信网络技术将极大的改变我们的生活和工作方式,甚至社会的价值观也会发生某种变化。本设计尝试用PHP在网络上架构一个动态的网上商品购物网站,以使每一位顾客不用出门在家里就能够通过上网来轻松购物。

本文详细介绍了基于PHP的网上购物系统的系统结构设计、实现方法和操作流程,并介绍了系统各个模块的主要功能和数据库设计及功能。该系统采用BS结构,采用PHP技术进行动态窗体页面的设计。后台数据库选用MySQL 数据库。系统设计并实现了会员注册及登录模块,会员基本信息模块,会员购物模块,产品搜索模块,管理员商品管理模块,用户管理模块,订单管理模块,信息管理模块等一系列功能模块。最后,对网上购物系统进行了系统测试,各个模块功能运行良好。

关键字:Internet,PHP,BS,网上购物系统

Title PHP-based Shopping Inline System Abstract

Along with the development of internet technology, daily life can not go on without the network. The life and work of the social people of future will depend on the development of digital technology more and more , digitization, networking, electronization, virtual more and more. E-commerce presses close to people's life day by day along with the development of network too.Developing course and present application state and development trend of Internet can believe network technology will change life and working way of us greatly, and even change the values of the society to some extent.This paper tries to build up a dynamic e-commerce website in the network with PHP, so that each customer needn't go out and can do some shopping easily through internet at , implementation method and operation process based on PHP, and introduces main functions of various modules about the system and database design. The system uses BS structure, and conducts design of dynamic form page by PHP technology. Background database selects MySQL database. System design realizes a series of function modules such as user registration and landing module, user basic information module, shopping module, searching goods module, the management of goods ,the management of user,the management of orders ,the management of news and so on. Finally, the paper tests Shopping Inline System, and the result finds that kinds of modules operate well.

Keyword: Internet,PHP,BS ,e-Shopping

目 次

1 绪论 ............................................................ 1

1.1开发背景及意义............................................... 1 1.2 国内外电子商务现状 .......................................... 1 1.3本文研究的内容............................................... 3 1.4 开发可行性分析 .............................................. 3

1.4.1 管理上的可行性......................................... 3 1.4.2 技术上的可行性......................................... 3 1.4.3 经济上的可行性......................................... 4 1.4.4法律可行性 ............................................. 4 1.4.5执行可行性 ............................................. 4

2 系统需求分析 .................................................... 5

2.1目标和任务................................................... 5 2.2 系统功能分析 ................................................ 5

2.2.1 功能性需求概述......................................... 5 2.2.2系统流程分析 ........................................... 7 2.2.3 系统目录结构........................................... 8 2.3数据库分析................................................... 9

2.3.1 数据库需求分析......................................... 9 2.3.2数据库概念结构设计 ..................................... 9 2.4系统开发环境................................................ 10

2.4.1 硬件平台............................................. 10 2.4.2 服务器平台........................................... 10 2.4.3 开发工具............................................. 10 2.4.4 技术构架............................................. 10 2.6数据字典.................................................... 11 2.6.1数据元素.................................................. 11 2.6.2数据存储。................................................ 11 3系统概要设计 ................................................... 13

3.1系统结构设计................................................ 13

3.1.1 系统体系结构.......................................... 13 3.1.2 系统总体功能结构...................................... 14 3.1.3 系统总体物理结构...................................... 16 3.2数据库结构设计.............................................. 17

3.2.1数据库概念结构设计 .................................... 17 3.2.2数据库逻辑设计 ........................................ 17

4系统详细设计 ................................................... 22

4.1系统设计.................................................... 22 4.2 公共模块设计 ............................................... 22

4.2.1 数据库公共模块........................................ 22 4.2.2 common.php和golbal.php单元 .......................... 23 4.3产品模块设计................................................ 23

4.3.1 产品类型设计.......................................... 23 4.3.2 产品添加设计.......................................... 23 4.3.3 产品信息查询.......................................... 25 4.4前台页面模块设计............................................ 26

4.4.1首页设计 .............................................. 26 4.4.2 产品详细信息.......................................... 27 4.4.3 购物车设计............................................ 28 4.4.4结账处理 .............................................. 29 4.4.5 会员注册和登录页面设计................................ 29 4.4.6 会员账户管理.......................................... 30 4.5 订单管理模块设计 ........................................... 30 4.6会员管理模块设计............................................ 32 5 系统测试 ....................................................... 33

5.1系统测试.................................................... 33

5.1.1 测试的目的............................................ 33 5.1.2测试的准则 ............................................ 33 5.1.3测试的方法 ............................................ 33

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4