基于 PHP 的产品报价系统的设计与开发
论文作者姓名:
申请学位专业:
申请学位类别:
指导教师姓名(职称):
论文提交日期:
基于 PHP 的产品报价系统的设计与开发
摘 要
随着互联网技术应用的不断深入,产品的生产与销售链条也越来越多的融入
了电子商务的元素。消费者通过网络能与来自世界各地、不同种类的产品建立直
观的联系,并通过便捷、快速的操作完成购买流程。为了便于用户在千万计的产
品中通过对不同制造商、不同产地的产品的价格、性能等参数进行比较,快速的
找到自己需要的产品,尽可能缩短购买时间,并在制造商和消费者之间建立一个
高效的平台,采用简洁高效的 PHP 语言与 MySQL 数据库等技术,并借鉴了开源社
区中最经典的技术思想和开发模式,设计和开发了这一产品报价系统。该系统主
要实现了产品搜索、用户评论、在线购买等前台模块与产品管理、用户管理、订
单管理等后台模块。通过科学全面的测试,系统实现了产品报价和在线购物的主
要功能。产品报价系统做为现有电子商务和在线购物模式的重要补充,在实际的
应用中必将显现其突出的优势。
关键词:产品报价;在线购物;电子商务;PHP;MySQL;开源社区
Design and Development of Products Quotation System
Based on PHP
Abstract
With the development of Internet technology, 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 complete the purchase flow through
convenient and the fast operation. 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, This
paper takes advantage of simple and high effective technology of PHP language and
MySQL database , profites the most classical technical thought and the development
pattern from open source community, design and develope 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. As the important supplement for existing E-commerce and the shopping
on-line pattern, the product quoted price system 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 系统开发的意义........................................................2
2 产品报价系统分析..........................................................2
2.1 网站的设计目标........................................................2
2.2 网站的可行性分析......................................................2
2.2.1 用户群体与市场分析................................................2
2.2.2 技术能力分析......................................................2
2.2.3 可行性分析总结....................................................3
2.3 网站设计的特点........................................................3
3 系统的开发技术及主要构架..................................................3
3.1 开发技术的选择........................................................3
3.1.1 PHP 编程技术 ......................................................3
3.1.2 MySQL 开源数据库的开发 ............................................4
3.2 系统的主要架构及开发模式..............................................4
3.2.1 基于 B/S 的体系结构................................................4
3.2.2 OOP(面向对象编程)在 PHP 中的运用.................................4
4 系统的功能和流程分析......................................................5
4.1 平台功能模块的设计分析................................................5
4.2 系统流程分析..........................................................5
4.2.1 前台购物流程......................................................5
4.2.2 注册登录功能流程..................................................6
4.2.3 商品搜索流程......................................................7
4.2.4 留言评论流程......................................................7
4.2.5 商品管理流程......................................................7
4.2.6 订单处理流程......................................................7
4.2.7 用户管理流程......................................................7
5 系统功能的具体实现........................................................8
5.1 系统数据库的设计......................................................8
5.2 功能总体说明.........................................................11
5.2.1 系统流程图.........................................................11
5.2.2 目录结构说明.......................................................11
5.3 各功能模块的实现.....................................................12
5.3.1 数据库的连接.....................................................12
5.3.2 用户注册与审核模块...............................................13
5.3.3 用户登录模块的实现...............................................14
5.3.4 商品搜索模块的实现...............................................16
5.3.5 购物车模块的实现.................................................16
5.3.6 产品管理模块的实现...............................................17
5.3.7 用户管理与权限的实现.............................................20
5.3.8 订单与评论管理...................................................22
5.3.9 系统数据管理.....................................................23
6 系统测试及难点分析.......................................................23
6.1 系统运行环境的搭建...................................................23
6.2 系统程序的安装.......................................................24
6.3 系统的测试...........................................................24
6.3.1 系统关键部分测试分析.............................................24
6.3.2 测试结果分析与说明...............................................25
6.3.3 系统安全与性能分析...............................................25
6.4 系统中存在的问题及解决方法...........................................25
结 论.....................................................................25
参考文献.....................................................................26
致 谢.....................................................................27
声 明.....................................................................28