基于微信小程序的智能班务管理系统的设
计与实现
Design and implementation of intelligent class management
system based on wechat applet
学校:
系:
专业:
班级:
学生姓名:
指导教师:
摘 要
随着学校规模的不断扩大,学生数量急剧增加,有关学生的各种信息也成倍
增长。面对如此庞大的信息量,开发班级综合管理系统来提高学生管理工作的效
率就成为必然。通过该系统,可以做到信息的规范管理、科学统计和快速查询,
从而减少管理方面的工作量。本文主要介绍了班级综合管理系统的主要任务,阐
述了开发该系统用到的关键技术,利用微信小程序平台、MySQL 建立数据库、采
用 HTML,JavaScript 等编程技术,开发一款智能班务管理小程序。
关键字:小程序 MINA JavaScript 班级管理
Abstract
With the continuous expansion of the scale of the school, the number of students
has increased dramatically, and all kinds of information about students has
multiplied. In the face of such a huge amount of information, it is inevitable to
develop the class comprehensive management system to improve the efficiency of
student management. Through the system, we can achieve the standardized
management of information, scientific statistics and rapid query, so as to reduce the
workload of management. This paper mainly introduces the main tasks of the class
comprehensive management system, expounds the key technologies used in the
development of the system, and develops an intelligent class management small
program by using wechat small program platform, MySQL database, HTML,
JavaScript and other programming technologies.
Keywords: Applets MINA class management
目录
1.绪论....................................................................................................................6
1.1 研究背景.................................................................................................6
1.1.1 校务管理背景..............................................................................6
1.1.2 微信小程序简介..........................................................................8
1.2 研究意义.................................................................................................9
1.3 论文结构..............................................................................................10
2.项目可行性分析..............................................................................................11
2.1 系统可行性分析...................................................................................11
2.1.1 经济可行性................................................................................12
2.1.2 技术可行性................................................................................12
2.2 系统需求分析.......................................................................................13
3.相关技术简介..................................................................................................14
3.1 小程序相关技术介绍...........................................................................14
3.1.1 JSON ...........................................................................................15
3.1.2 XML.............................................................................................15
3.1.3 CSS ..............................................................................................16
3.1.4 JavaScript....................................................................................16
3.2 MINA 框架.............................................................................................18
3.2.1 逻辑层........................................................................................20
3.2.2 视图层........................................................................................21
3.2.3 数据层........................................................................................21
3.3 数据库...................................................................................................22
4.开发流程和开发环境......................................................................................24
4.1 微信小程序开发流程...........................................................................24
4.2 项目开发思路.......................................................................................25
4.3 云开发环境配置...................................................................................26
4.4 数据库设计...........................................................................................30
5.系统设计与实现..............................................................................................31
5.1 系统功能设计......................................................................................31
5.1.1 用户侧功能设计.......................................................................31
5.1.2 管理员侧功能设计...................................................................32
5.3 数据库设计...........................................................................................32
5.3.1 数据库实体................................................................................32
5.3.2 实体间 ER 图.............................................................................33
5.3.3 数据库表设计............................................................................33
5.3.4 数据库关表系............................................................................36
5.2 小程序功能实现..................................................................................36
5.2.1 用户注册和登陆........................................................................36
5.2.2 通知功能....................................................................................37
5.2.3 签到功能....................................................................................38
5.2.4 作业管理功能............................................................................39
5.2.5 班级分享功能............................................................................40
5.2.6 管理员功能................................................................................41
6.软件测试..........................................................................................................42
6.1 软件测试的目的...................................................................................43
6.2 软件测试的常用方式..........................................................................43
6.2.1 静态测试和动态测试 ................................................................43
6.2.2 黑盒测试、白盒测试和灰盒测试 ............................................44
6.2.4 手动测试和自动化测试 ............................................................45
6.3 测试用例...............................................................................................45
5.4 测试结果...............................................................................................47
7.研究总结..........................................................................................................47
参考文献.............................................................................................................48
致 谢...............................................................................................................49