摘  要

随着国内市场经济这几十年来的蓬勃发展,突然遇到了从国外传入国内的互联网技术,互联网产业从开始的群众不信任,到现在的离不开,中间经历了很多挫折。从当初的传统销售行业抵制互联网销售,到现在传统销售与网络销售的结合模式,都代表着网络购物是一种潮流,是线下实体经济的补充,不再是有些学者叫嚣的洪水猛兽,有效的在信息传播上突破了空间距离的限制,使得超市购物变得与实体购物一样舒适。本次开发的超市购物系统,实现了购物在线查看与购买下单的功能。开发本程序用到了Python作为开发语言,django作为开发框架。数据库采用关系数据库市场占有率最高的MySQL作为本程序使用的数据库,完全符合程序使用并且有丰富的拓展余地。程序从需求到设计,从开发到测试,都在功能上和性能上都不断的进行了调试,让开发的程序在使用上用户体验更美好。

关键词:超市购物系统;Python;MySQL


 

Abstract

With the vigorous development of the domestic market economy in recent decades, we have suddenly encountered the Internet technology introduced into China from abroad. The Internet industry has experienced many setbacks from the initial distrust of the masses to the present. From the original traditional sales industry boycotting Internet sales to the current combination mode of traditional sales and online sales, all represent that online shopping is a trend and a supplement to the offline real economy. It is no longer a monster shouted by some scholars. It effectively breaks through the limitation of spatial distance in information dissemination, making supermarket shopping as comfortable as physical shopping. The supermarket shopping system developed this time realizes the functions of shopping online viewing and purchase order. The development of this program uses Python as the development language and Django as the development framework. The database uses mysql, which has the highest market share of relational database, as the database used by this program, which is fully in line with the use of the program and has rich room for expansion. From requirements to design, from development to testing, the program has been continuously debugged in function and performance, so as to make the user experience of the developed program better.

Key Words:Supermarket shopping system; Python; MySQL

 

目 录

1 绪论 1

1.1 研究背景 1

1.2 研究意义 1

1.3 研究内容 2

2 开发技术 3

2.1 B/S架构 3

2.2 MYSQL数据库 3

2.3 PYTHON语言 4

3 系统分析 5

3.1可行性研究 5

3.2系统性能分析 6

3.3 系统流程分析 6

3.3.1 系统开发流程 6

3.3.2 系统注册流程 7

3.3.3 系统登录流程 8

4 系统设计 10

4.1 系统结构设计 10

4.2系统功能模块设计 11

4.3数据库设计 11

4.3.1数据库E-R图 11

4.3.2 数据库表结构 13

5 系统实现 17

5.1 管理员功能实现 17

5.1.1 用户管理 17

5.1.2 店员管理 17

5.2 店员功能实现 18

5.2.1 商品管理 18

5.2.2 订单管理 19

5.3 用户功能实现 19

5.3.1 个人中心 19

5.3.2 我的订单 20

6系统测试 22

6.1 测试的基本概念 22

6.2 测试的任务和目的  22

6.2.1测试的任务  22

6.2.2测试的目的  23

6.3 测试结果分析 23

结  论 24

参考文献 25

致  谢 26

 

python004超市购物系统-计算机毕业设计源码+LW文档_数据库

python004超市购物系统-计算机毕业设计源码+LW文档_Python_02

python004超市购物系统-计算机毕业设计源码+LW文档_数据库_03

python004超市购物系统-计算机毕业设计源码+LW文档_数据库_04