登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 计算机类 > 计算机科学与技术 > 正文

校园二手物品交易平台的设计与实现毕业论文

 2021-04-17 11:04  

摘 要

随着互联网技术的高速发展,人们已经变得越来越离不开互联网了,互联网使我们的生活变得更加地方便、快捷。而当下,电子商务作为最近几年最火的事物,已经开始渗透到我们生活中的各个领域。电子商务不但能让我们购买到我们许多生活中买不到的商品,而且还可以让我们自己成为卖家,将自己的东西卖给别人。

虽然当下有很多的知名电商网站,也有一些二手物品交易网站,但是并没有知名的专注于学生市场的校园二手物品交易网站。因为我们学生的东西大部分适合学生使用。所以网上的大部分二手物品交易网站并不适合我们去使用。当然也就隐含着庞大的校园市场等待着我们去开发。为了发掘出这么庞大的校园市场,本次课题的主要研究内容就是去搭建一个适合于我们大学生自己使用的校园二手物品交易网站。

本系统主要使用PHP脚本语言来进行服务器端的程序设计,使用HTML CSS JavaScript来设计前端界面。同时使用了ThinkPHP框架来进行MVC模式的设计。整个网站的设计思想就是获取用户的输入,然后根据控制器来对用户的输入进行解读,然后进行相关的处理,如果需要对数据库进行操作,就会通过模型去对数据库进行增删改查等操作。在获得相关的数据之后,再将数据插入到前端的模板中,然后返回相关的界面给客户端。

在本系统中,主要实现的功能有用户登录注册、浏览网站商品、将商品添加到购物车或者我的收藏中,同时还能将购物车中的东西进行生成订单。在本系统中,我们都默认每一个用户即是卖家又是买家。所以每一个用户都能够上传自己想要交易的二手物品到网站 上面以供别的用户购买。同时也能够删除自己的商品。

本系统在保护用户的安全性方面也涉及到了。首先就是用户的密码问题。数据库中存储用户的密码数据是通过加密后处理的。也就是说网站的工作人员即使看到了用户的相关数据,但是还是不知道用户的密码。因为采用的是md5加密方法,生成的数据是不可逆的,也就是说不可能通过数据库中存储的数据去方向得到用户的密码。然后就是涉及到用户能够操作的商品的权限问题,在本系统中,当涉及到操作对商品的操作的时候都会判断当前登录的用户是不是能够操作该商品,如果不能的话,就会返回不能操作的界面。

关键字:ThinkPHP;Mysql;PHP;二手物品交易

Abstract

With the rapid development of Internet technology,people have become increasingly inseparable from the Internet.The Internet has made our life more convenient and faster.Now,e-commerce,as the most popular thing in recent years,has begun to permeate every area of our lives.E-commerce not only enables us to buy goods that we cannot buy in many of our lives,but also enables us to become sellers and sell our things to others.

Although there are many famous e-commerce sites,there are also some second-hand goods trading site,but there is no known centers on campus second-hand goods trading market site because we students most suitable for students to use most of the second-hand goods online trading site is not suitable for us to use,of course,also implied a huge campus market waiting for us to develop in order to find this huge campus market,the main research contents of this subject is to build a suitable for our college campus second-hand goods trading website for their own use.

This system mainly using PHP script language for server-side programming, using HTML CSS JavaScript to design the front-end interface at the same time use the ThinkPHP framework for the design of the MVC pattern of the entire site design idea is to get the user's input, and then according to the controller to user input, and then the related processing, operating on the database if required, will be through the model to the database to add and delete operations After obtaining the relevant data, insert the data into the front-end template and return the relevant interface to the client.

In this system, the function of the main implementation has registered user login to browse website commodities will add to cart or collection, I also can be something in the shopping cart to generate the order In this system, we are by default every user is the seller and buyer So every user can upload transactions of second-hand goods they want to websites for other users to buy At the same time, they can remove their goods.

This system in protecting the safety of users also involves in the first place is the problem the user's password stored in the database user's password data is encrypted by post-processing That is to say, site staff even saw the user data, but still don't know the user's password.Because md5 encryption method is used, the generated data is irreversible, that is impossible through the direction of data stored in the database to get the user's password Then is a commodity that involves users to be able to operate the permissions problems, in this system, when it comes to the operation to the operation of the commodity will determine when the current logged-in user is able to operate the goods, if not, it will return can't operate interface.

Keywords:ThinkPHP;Mysql;PHP;Secondhand goods transactions

目录

第一章 绪论 2

第二章 系统概述 3

2.1研究背景 3

2.1.1传统市场 3

2.1.2网上购物的好处 3

2.1.3国内外的市场发展 4

2.1.4研究的内容 4

2.1.5实施的技术方案 4

2.2开发环境 5

2.2.1PHP 5

2.2.2 Apache服务器 5

2.2.3 ThinkPHP5 6

第三章 系统的总体设计 7

3.1需求分析 7

3.2数据库的设计 7

3.2.1概念模型设计 7

3.2.2逻辑模型设计 8

3.3可行性分析 11

3.4架构设计 11

第四章 模块设计 13

4.1登录/注册模块设计 13

4.1.1登录模块 13

4.1.2注册模块 14

4.2购物车模块 15

4.3订单模块 18

4.4个人信息模块 20

4.5商品模块 22

4.5.1查看商品 22

4.5.2添加商品 22

4.6我的收藏模块 24

4.7搜索模块 24

4.8分页的实现 25

第五章 总结与展望 27

参考文献 28

致谢 29

第一章 绪论

随着互联网技术的发展,网络程序的开发主要有两种架构。分别是C/S架构(Client/Server,客户机/服务器)与B/S架构(Browser/Server,浏览器/服务器)[1]。这两种架构都有各自的优点和缺点。下面就让我们来一起分析一下。

C/S架构是一种早期使用的软件架构,主要应用于局域网内[2]。该架构是将应用程序分成客户端和服务器端。用户通过使用客户端去访问服务器端的数据[3]。而B/S架构则是C/S架构的一种改进。B/S架构对比C/S架构起来,拥有下面的优点:(1)只要客户机可以上网,就可以通过浏览器访问该系统,浏览和发布二手交易信息,从而节省了传统C/S模式的复杂安装、配置和维护[4]。(2)升级起来比C/S架构更为的方便,当应用程序需要升级的时候,只需要升级服务器就行了。但是B/S架构也有着服务器维护起来比较复杂的缺点。而本系统的功能比较简单,不需要实现某些复杂的功能。所以结合起来,B/S架构更适合于我们此次的校园二手物品交易网站的实现。这样能够让我们的用户更加地方便使用。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图