学 号:
基于 php 的校园垃圾分类网站的设计与实
现
Design and Implementation of Campus Garbage
Classification Website Based on PHP
系:
专业:
班级:
学生姓名:
指导教师:
2021 年 5 月
目 录
内 容 摘
要...........................................................
I
Abstract...........................................................
.
II
1 导
言............................................................
1
1.1 研 究 背 景 及 意
义.................................................
1
1.2 国 内 外 研 究 现
状.................................................
2
1.3 论 文 的 主 要 工
作.................................................
2
2 相关理论与技术分析............................................
3
2.1 B/S 模式.......................................................
3
2.2 PHP 语言.....................................................
4
2.3 SQL 数 据
库.....................................................
4
2.4 WEB 前端技术..................................................
4
3 系 统 需 求 分
析....................................................
5
3.1 系统功能性需求分析分析........................................
5
3.2 系统非功能性需求分析分析.......................................
5
4 系 统 的 详 细 设
计..................................................
7
4.1 数 据 库 设
计.....................................................
7
4.2 系 统 的 模 块 功 能 设
计.............................................
8
4.3 系 统 界 面 设
计...................................................
9
5 系 统 的 详 细 实
现..................................................
14
5.1 登 陆 模 块 的 设 计 与 实
现...........................................
14
5.2 新 闻 资 讯 模 块 的 设 计 与 实
现.......................................
16
5.3 知 识 资 源 模 块 的 设 计 与 实
18
现.......................................
5.4 留言模块的设计与实现...................................
19
6 系 统 测
试........................................................
22
6.1 系 统 的 测 试 目 的 和 方
法...........................................
22
6.2 测 试 用 例 及 测 试 结
果.............................................
22
7 总 结 与 展
望......................................................
23
参 考 文
献...........................................................
24
致
谢...............................................................
25
摘要
近年来,随着民众环保意识的增强和资源有效利用问题的重视,全国各地市不断推进垃圾
分类工作。教育部,也已于去年发布通知在全国各学校推进垃圾分类工作,以鼓励垃圾分类的
有效实施。但现阶段我国校园的垃圾分类践行情况依旧问题重重。其中学校方面对学生垃圾分
类行为缺少良好的引导和管理的手段,出现分类信息传达不明确、管理手段欠缺、互动性不强
等是现阶段的亟待解决的主要问题。
随着信息技术的进步和不断普及,越来越多的工作管理和信息交互采用了网络化、在线化
和数据化的形式。其中 WEB 网站能够集合图像、文本、动画、声音等多种媒体信息于一体,不
仅能够实现更加生动的展示信息,更加可以实现信息互动。基于这一现状,本文结合校园垃圾
分类的实际需求,通过设计和实现一个校园垃圾分类管理系统网站,对基于 PHP 语言的 WEB 网
站开发技术进行研究和探讨。网站使用 PHP+MySQL 技术框架实现,可以明晰的展示垃圾分类信
息,发布实时通知和消息,校园的学生和教师也可以通过留言反馈问题和想法,实现各方的有
效互动。
关键字:PHP ,MySQL , 垃圾分类, 后台管理
Abstract
In recent years, with the enhancement of people's awareness of environmental protection and the
importance of effective utilization of resources, cities all over the country continue to promote the work
of waste classification. The Ministry of education also issued a notice last year to promote waste
classification in schools across the country to encourage the effective implementation of waste
classification. However, at this stage, there are still many problems in the practice of garbage
classification on campus. Among them, the lack of good guidance and management means for
students' garbage classification behavior in schools, unclear classification information transmission,
lack of management means and weak interaction are the main problems to be solved at this stage.
With the progress and popularization of information technology, more and more work
management and information interaction adopt the form of network, online and data. Among them,
the web site can collect images, text, animation, sound and other media information in one, which
can not only achieve more vivid display of information, but also realize information interaction. Based
on this situation, this paper combined with the actual needs of campus garbage classification,
through the design and implementation of a campus garbage classification management system
website, research and discuss the development technology of web website based on PHP language.
The website uses php + MySQL technology framework to realize, which can clearly display the
garbage classification information, release real-time notices and messages. Students and teachers
on campus can also feedback questions and ideas through messages, so as to realize effective
interaction among all parties.
Keywords: PHP ,MySQL,Garbage classification, background management