基于 PHP 的产品报价系统的设计与开发
摘 要
随着互联网技术应用的不断深入,产品的生产与销售链条也越来越多的融
入了电子商务的元素。消费者通过网络能与来自世界各地、不同种类的产品建
立直观的联系,并通过便捷、快速的操作完成购买流程。为了便于用户在千万
计的产品中通过对不同制造商、不同产地的产品的价格、性能等参数进行比较
快速的找到自己需要的产品,尽可能缩短购买时间,并在制造商和消费者之间
建立一个高效的平台,采用简洁高效的 PHP 语言与 MySQL 数据库等技术,并
借鉴了开源社区中最经典的技术思想和开发模式,设计和开发了这一产品报价
系统。该系统主要实现了产品搜索、用户评论、在线购买等前台模块与产品管
理、用户管理、订单管理等后台模块。通过科学全面的测试,系统实现了产品
报价和在线购物的主要功能。产品报价系统做为现有电子商务和在线购物模式
的重要补充,在实际的应用中必将显现其突出的优势。
关键词:产品报价;在线购物;电子商务;PHP;MySQL;开源社区
The Design and Development of Products Quotation System
Based on PHP
Abstract
With the development of Internet technology application, the production and
marketing chain is more and more integrated into the e-commerce element. The
consumer can establishment direct-viewing relation with the different type products
which come from all over the world through the network , and through convenient,
the fast operation to complete the purchase flow. In order to be advantageous for the
user in the product which surely counts through to the different manufacturers,
different habitat parameter and product price, performance is carrying on the
comparison , looks for the product quickly which are needed, reduces the purchase
time as far as possible, and builds a high effective platform between the manufacturer
and the consumer, we take advantage of simple and high effective technology of PHP
language and MySQL database , profited the most classical technical thought and the
development pattern from open source community, designed and developed this
system. This system has mainly realized product search, user commentary, on-line
purchase backstage module and so on and onstage module and product management,
user management, order form management and so on.Through the science
comprehensive test, the system has realized the main function of product quoted price
and the shopping on-line so on. The product quoted price system does for the
important supplement for existing E-commerce and the shopping on-line pattern, will
certainly display its prominent superiority in the actual application.
Key words: Products Quotation;Shopping online;E-commerce; PHP;
MySQL; Open source community
目 录
论文总页数:28 页
1 引言 1
1.1 系统的开发背景....................................................................................................................1
1.1.1 在线购物的发展...............................................................................................................1
1.1.2 产品报价系统的现状.......................................................................................................1
1.2 系统实现的目标....................................................................................................................1
1.3 系统开发的意义....................................................................................................................1
2 产品报价系统分析 2
2.1 网站的设计目标....................................................................................................................2
2.2 网站的可行性分析................................................................................................................2
2.2.1 用户群体与市场分析.......................................................................................................2
2.2.2 技术能力分析...................................................................................................................2
2.2.3 可行性分析总结...............................................................................................................2
2.3 网站设计的特点....................................................................................................................2
3 系统的开发技术及主要构架 3
3.1 开发技术的选择....................................................................................................................3
3.1.1 PHP 编程技术...................................................................................................................3
3.1.2 MySQL 开源数据库的开发.............................................................................................3
3.2 系统的主要架构及开发模式................................................................................................4
3.2.1 基于 B/S 的体系结构.......................................................................................................4
3.2.2 OOP(面向对象编程)在 PHP 中的运用......................................................................4
4 系统的功能和流程分析 4
4.1 平台功能模块的设计分析....................................................................................................4
4.2 系统流程分析........................................................................................................................5
4.2.1 前台购物流程...................................................................................................................5
4.2.2 注册登陆功能流程...........................................................................................................6
4.2.3 商品搜索流程...................................................................................................................6
4.2.4 留言评论流程...................................................................................................................7
4.2.5 商品管理流程...................................................................................................................7
4.2.6 订单处理流程...................................................................................................................7
4.2.7 用户管理流程..................................................................................................................7
5 系统功能的具体实现 7
5.1 系统数据库的设计................................................................................................................7
5.2 功能总体说明......................................................................................................................10
5.2.1 系统流程图.....................................................................................................................10
5.2.2 目录结构说明.................................................................................................................11
5.3 各功能模块的实现..............................................................................................................12
5.3.1 数据库的连接.................................................................................................................12
5.3.2 用户注册与审核模块.....................................................................................................12
5.3.3 用户登陆模块的实现.....................................................................................................14
5.3.4 商品搜索模块的实现.....................................................................................................15
5.3.5 购物车模块的实现.........................................................................................................16
5.3.6 产品管理模块的实现.....................................................................................................16
5.3.7 用户管理与权限的实现.................................................................................................19
5.3.8 订单与评论管理.............................................................................................................21
5.3.9 系统数据管理.................................................................................................................21
6 系统测试及难点分析 21
6.1 系统运行环境的搭建..........................................................................................................21
6.2 系统程序的安装..................................................................................................................22
6.3 系统的测试..........................................................................................................................23
6.3.1 系统关键部分测试分析.................................................................................................23
6.3.2 测试结果分析与说明.....................................................................................................23
6.3.3 系统安全与性能分析.....................................................................................................23
6.4 系统中存在的问题及解决方法..........................................................................................23
结 论 24
参考文献 24
- 1
- 2
前往页