学位论文—基于php的网上购物商场的设计与实现 下载本文

内容发布更新时间 : 2024/5/19 2:04:29星期一 下面是文章的全部内容请认真阅读。

毕业设计(论文)

题目:基于PHP的电子商城的设计与实现

大学毕业设计(论文)任务书

学院(直属系) 时间:2014年11月15日

学 生 姓 名 设计(论文)题目 指 导 教 师 基于PHP的网上购物商场的设计与实现 调查各大网上购物商城(如淘宝,京东等)的使用情况 主要研 研究可行的网上购物商场的方案 究内容 研究开发网上购物商城的核心技术手段 分析开发过程中核心模块 研究方法 分步骤解决开发过程中遇到的问题 通过各种途径需找决绝方法 主要技术主要技术:PHP,MySQL,Smarty模板,HTML,CSS,JS 指标(或研研究目标:开发出实用、高效的系统 究目标) [1] 强锋科技. HTML+CSS网页设计指南[M].北京:清华大学出版社,2010 主要参考[2] 国家人力资源和社会保障部. PHP+MySQL开发实例教程[M].北京:文献 中国电力出版社,2008 [3] 泽瓦斯. PHP Web 2.0开发实战[M].北京:人民邮电出版社,2008 [4] 邹天思,孙鹏.PHP从入门到精通[M].北京:清华大学出版社,2011 [5] 黄缙华. MySQL入门很简单[M].北京:清华大学出版社,2011 说明:一式两份,一份装订入学生毕业设计(论文)内,一份交学院(直属系)。

I

基于PHP的电子商城的设计与实现

摘要

随着计算机的广泛应用,人们在网上可以进行网上购物,网上交友,电子商务,网络营效等等。网上商城作为电子商务其中一种表现形式在我国有了飞速的发展,具有一定的优势,但仍存在许多问题。本文主要分析了网上商城的组成情况,重点介绍了网站前台功能模块的详细思路和实现方法,以及对后台数据库关键技术和部分源代码的详细说明。该系统主要用Smarty模板引擎,分离了PHP逻辑代码和外在HTML+CSS内容,使程序员改变程序的逻辑内容不会影响到前端的页面设计,前端重新修改页面不会影响到程序的程序逻辑,大幅度提高了购物商城的运行速度。本购物商城实现了用户注册、登录、商品浏览和查询、对商品的购买使用购物车以及用户订单的生成、结账等一系列功能。 关键词:网上商城,PHP,MySQL

II

The estore Based On PHP

Abstract

With the extensive application of computers,People can be online in online shopping, e-friends, e-commerce, network operators and so efficient.the online estore as a form of e-commerce which has been rapid development in China, has certain advantages, but there are still many problems. This paper analyzes the main components of the Internet Mall, the website focuses on the future function of the realization of ideas and methods in detail, as well as the background database of key technologies and some detailed description of the source code. The system is mainly used smarty template engine php logical separation of code and external HTML + CSS content, allows programmers to change the logic of the program will not affect the content of the front page design, the front page does not affect the re-edit the program logic greatly improved the running speed shopping mall. The shopping mall user registration, login, browse and query the goods, for goods purchased using the shopping cart and user generated orders, billing and a series of functions. Key Words: estore,PHP,MySQL

III

目 录

摘要 ....................................................................... II Abstract .................................................................. III 第1章 绪论 ............................................................. - 1 - 第2章 系统需求分析 ..................................................... - 2 -

2.1 系统需求分析 .................................................... - 2 - 2.2 系统可行性分析 .................................................. - 2 - 第3章 系统概述 ......................................................... - 4 -

3.1 系统的开发背景与意义 ............................................ - 4 -

3.1.1 系统开发的背景 ............................................. - 4 - 3.1.2 系统开发的意义 ............................................. - 4 - 3.2 系统的功能概述 .................................................. - 5 - 3.3 系统的设计原则和要求概述 ........................................ - 6 - 第4章 系统的开发环境及相关技术 ......................................... - 7 -

4.1 系统的开发工具及环境 ............................................ - 7 - 4.2 系统的相关技术简介 .............................................. - 7 -

4.2.1 PHP技术介绍 ............................................... - 7 - 4.2.2 MySQL数据库介绍 ........................................... - 8 - 4.2.3 Smarty模板介绍 ............................................ - 9 - 4.2.4 HTML+CSS介绍 ............................................. - 11 - 4.2.5 Javascript介绍 ........................................... - 13 -

第5章 系统的设计与实现 ................................................ - 15 -

5.1 系统的功能模块 ................................................. - 15 -

IV