摘 要
随着经济的发展,人们的生活水平不断提高,互联网交易越发成熟,为了避免资源浪费,通过校园闲置交易网,可以起到很好的资源再利用。大学生是一个购物频发的群体,尤其是买一些书籍和资料的时候,通常是用过之后就不再需要,扔掉很可惜,堆着占位置,自己处理起来又不是很方便,这时就需要这样一个针对大学生的闲置物交易网站来帮助我们以合适的价格卖出去,然后再购买自己所需要的资源,起到资源共享的作用,加之该平台具有校园跑业务,同校的同学可以利用闲暇时间去帮同学送快递,以低价格为同校同学开启送快递服务。这样一个买卖交易和快递结合的网站整正好形成一个校园闲置生态链。
面对如今的电子商务发展,商品交易的经营模式也在不断拓展,越来越多的交易促发资源的流动。闲置物交易正是为解决共享资源这块的缺失点,有效帮助了大学生处理以及共享资源的意愿。校园代跑不仅有收益更是锻炼了身体,有益于大学生的身心发展。
本系统使用了明亮的黄色调辅之以简约的设计风格,来让用户投注更多的精力在管理自己的闲置物上,而不是繁杂的网站功能,期望用户能够专注于闲置物买卖的享受。
本报告介绍了如何使用HTML,CSS,JavaScript,PHP,MySQL等完成一个校园闲置物交易平台的设计与实现,从最初的构想到设计再到最后的构想,分步骤地论述实现细节,同时也将会介绍本系统中使用的相关技术。
关键词:闲置物交易,校园生态链,PHP,JavaScript,MySQL
Abstract
With the development of the economy, people's living standards continue to improve, Internet transactions become more mature, in order to avoid waste of resources, through the campus idle trading network, it can play a good resource reuse. College students are a frequent shopping group. Especially when buying some books and materials, they are usually no longer needed after they are used. It is a pity to throw them away. It is not very convenient to handle them. We need such a idle transaction website for college students to help us sell at the right price, then buy the resources we need, and play the role of resource sharing. In addition, the platform has campus running business, and the students in the same school can Use the leisure time to help the students send the courier, and open the courier service for the students at the low price. Such a combination of trading and express delivery forms a campus idle ecosystem.
In the face of today's e-commerce development, the business model of commodity trading is also expanding, and more and more transactions promote the flow of resources. The idle transaction is precisely the missing point of solving the shared resource, which effectively helps the college students to process and share the willingness to share resources. Running on campus not only has the benefits but also exercises the body, which is beneficial to the physical and mental development of college students.
The system uses a bright yellow tone to complement the minimalist design style, allowing users to focus more on managing their own leisure, rather than the cumbersome website features, expecting users to focus on the enjoyment of idle purchases.
This report describes how to use HTML, CSS, JavaScript, PHP, MySQL, etc. to complete the design and implementation of a campus idle trading platform, from the initial idea to the design to the final idea, step by step to discuss the implementation details, but also The related technologies used in this system will be introduced.
Key words: Idle Trading, Campus Ecosystem Chain, PHP, JavaScript, MySQL
目 录
摘 要I
AbstractII
第1章 绪 论1
1.1 背景1
1.2 意义1
第2章 关键技术介绍3
2.1 关键性开发技术的介绍3
2.1.1 PHP面向对象编程3
2.1.2 Ajax运行机制和基本原理3
2.1.3 JavaScript3
2.2 其它相关技术3
2.2.1 PHPStudy的概述3
2.2.2 PHPStorm的概述4
2.2.3 Sublime Text 3的概述4
2.2.4 MVC简介4
第3章 系统分析5
3.1 网站需求分析5
3.1.1 需求分析5
3.1.2 模块划分5
3.1.3 功能需求6
3.1.4 用例图6
3.2 系统开发环境8
3.3 系统任务的可行性分析8
3.3.1 技术可行性8
3.3.2 系统安全性分析8
第4章 系统设计9
4.1 网站架构9
4.1.1 网站结构图9
4.1.2 功能结构图9
4.1.3 总体流程图9
4.2 数据库设计12
4.2.1 数据库E-R设计12
4.2.2数据库表设计13
4.3 网站前端/后台界面设计16
4.3.1 原型图设计16
4.3.2 视觉稿设计20
第5章 系统实现26
5.1 前端用户界面26
5.1.1 网站首页26
5.1.2 个人中心26
5.1.3 商品详情页27
5.1.4 我的收藏页面28
5.1.5 分类结果页面+搜索28
5.2 登录注册29
5.3 后台管理员界面30
5.3.1 用户管理30
5.3.2 商品管理30
5.3.3 分类管理31
5.4 功能模块实现32
5.4.1 登录模块32
5.4.2 注册模块32
5.4.3 发布模块32
5.4.4 商品模块34
5.4.5 管理模块35
5.4.6 搜索模块35
5.4.7 留言模块36
5.4.8 收藏模块36
第6章 系统测试37
6.1 测试方案37
6.2 测试方法及测试用例37
6.3 测试结果38
第7章 结 论40
致 谢41
参考文献42