基于 Python 的网上购物系统的设计与实现 摘 要随着时代的发展,互联网的创新与进步,网上购物已然逐步占据市场的经济发展的主导地位,成为了不可分割的一部分。在商品宣传方面,现在早已不再局限于传统的媒体,互联网成为了商家展示自己的另一个舞台。互联网技术通过数字化和电子化来传递信息,这让购物网站与传统的购物模式有了重大区别。网上购物有着非常多的优势点,对于普通买家而言,节省了营业店铺的建设成本,同时购物网站将实物流转变成了电子流,在很大程度上降低了商品的成本,商家就商品价格的设定上就很有竞争力。对于买家,购物网站的存在,让人们只需要通过电子设备联网,就能够随时随地、转瞬间货比三家来挑选自己认为实惠的商品,省是省力。本文研究的网上购物系统,首先对网上各大型商城的购物流程进行了调研,了解了网上商城的业务需求,在此基础上再做需求分析,并对系统的架构和数据库做详细设计。在该系统中,主要的开发语言是 Python,着重使用的是 Django 框架,其采用的开发模式为 MTV,MTV 模式将整个系统架构分成了三个部分:Model(模型)、Template(模版)、View(视图)。在这个网站里使用了 Mysql 数据库,在里面创建一个数据库用于存储网站的全部数据信息。关键字:网上购物 Python Django 框架 MTV 模式AbstractWith the development of The Times and the innovation and progress of the Internet, online shopping has gradually occupied the leading position in the economic development of the market and become an inseparable part.In terms of commodity publicity, now it is no longer limited to traditional media, the Internet has become another stage for merchants to show themselves.Internet technology delivers information digitally and electronically, making shopping sites significantly different from traditional shopping models.Online shopping has a lot of advantages. For ordinary buyers, it saves the construction cost of operating stores. Meanwhile, shopping websites turn the physical circulation into electronic flow, which reduces the cost of commodities to a great extent.For buyers, the existence of ...