摘 要
Node.js是一个Javascript运行环境(runtime environment),实质是对Chrome V8引擎进行了封装,Node.js 是一个让 JavaScript 运行在服务端的开发平台。本设计的灵感来源于OA(OFFICE AUTOMATION)管理系统即办公自动化管理系统的自动化,高效性和便利性。从而设计一个方便学生,老师和学校的管理系统。本设计将实现有关于学生,老师和学校的不同信息的查询,如学生成绩,课程的选择,课程的任课老师及其信息,缴费的情况,学校方便的各种活动的安排详情等功能。本系统的开发主要包括后台数据库的创建、维护和前端应用程序的开发两个方面。对于数据库的创建和维护要求建立数据安全性好以及完整性和一致性要强的数据库,而对于前端应用程序则要求应用程序功能尽最大可能的方便用户使用为宗旨,同时也要突显出实用性。从学校的实际情况出发,作者设计并实现了一个学生管理系统,本系统主要对学生基本信息的管理、班级管理、学生档案管理、课程管理、学生成绩管理以及相应数据的添加、修改和删除等功能,其优势还在于能通过局域办公。
关键字: 学生管理系统;mysql;Node.js;Express
Abstract
Node.js is a Javascript running environment, (runtime environment), essentially encapsulates the Chrome V8 engine, and Node.js is a development platform that lets JavaScript run on the server side. The inspiration of this design comes from the automation, efficiency and convenience of OA (OFFICE AUTOMATION) management system. In order to design a convenient management system for students, teachers and schools. This design will be implemented with information about students, teachers and schools Different information query, such as student performance, curriculum selection, curriculum teacher and information, payment of the case, school convenient arrangements for various activities and other functions. The development of this system mainly includes the creation of background database, maintenance and the development of front-end application program. For database creation and maintenance, a database with good data security and integrity and consistency is required, while for front-end applications, application functionality is required to be as user-friendly as possible, At the same time, we should also highlight the practicality. Starting from the actual situation of the school, the author designs and implements a student information. Management system, this system mainly to the student basic information management, the class management, the student file management, the curriculum management, the student achievement management as well as the corresponding data addition, the revision and the deletion and so on function, its superiority also lies in can work through the local area.
Keywords: student management system; mysql;Node.js;Express
目 录
摘 要 I
Abstract II
第1章 绪论 1
1.1选题背景和意义 1
1.1.1选题背景 1
1.1.2选题意义 1
1.2国内外研究现状、发展动态 2
1.2.1国内研究现状 2
1.2.2国外研究现状 3
1.2.3发展动态 3
1.3研究内容 4
第2章 Node.js软件说明 5
2.1 Node.js概述 5
2.2 Node.js的模块 6
2.3 Node.js及相关模块的安装 6
2.4 测试程序 7
第3章 系统功能分析 8
3.1系统分析 8
3.1.1组织结构分析 8
3.1.2业务流程分析 9
3.1.3数据字典 10
3.2系统主要功能 12
3.2.1 教师端 12
3.2.2 学生端 12
第4章 数据库设计 13
4.1数据库结构设计 13
4.2数据表关系设计 14
第5章 系统实现 16
5.1代码设计 16
5.1.1系统所需代码 16
5.1.2代码结构设计 21
5.2输入界面设计 22
5.3菜单设计 25
第6章 系统测试 26
6.1测试准备 26
6.2测试过程 26
6.3测试结果 26
6.4系统说明 27
总 结 28
参考文献 29