衡阳师范学院 毕业论文
题目:基于Web成绩管理系统 设计与实现 所在学院:计算机科学与技术学院 专业: 网络工程 1 学号: 13480130 1 作者姓名:罗红梅 1 指导教师:田小梅 1
2017年5月10日
I
基于Web成绩管理系统设计与实现
计算机科学与技术学院网络工程专业
学号:13480130 姓名:罗红梅指导教师:田小梅
摘要在如今信息化高速发展的时代,学生成绩管理系统是实现学生成绩数字化管理不可缺少的部分。成绩管理系统主要根据当今大学生成绩为蓝本,采用Web应用程序的方式,基于MVC的三层架构体系,以及自顶而下的模块化技术进行系统开发,把系统分为三种普通用户,老师、学生,系统管理员。根据软件开发的标准,利用Microsoft Sql server 2008数据库和Java语言以及三大框架(Mybatis,Struts,Spring)来开发,并对整个系统进行了测试。系统从用户的角度来划分具有以下功能:管理员可以对班级、老师、学生、课程的信息进行增删改查操作;老师可以对学生成绩录入、修改、删除、浏览、导出学生成绩到表格以及浏览与修改基本信息,重置密码等;学生查询本人成绩以及浏览与修改本人基本信息,重置密码等。
关键词学生成绩;管理系统;Web系统开发;B/S模式
I
Design and Implementation of the Student score
management system based on Web
Computer science department Major: Network project
No:13480130 Name: Luo Hongmei Tutor: Tian Xiaomei
Abstract In the information age, a student score management system is an indispensable part of the realization of the digital management of student achievement. Student score management system is mainly based on the results of today's college students using the B/S model, the three layer architecture based on Web technology and modular design, the system is divided into three ordinary users including teachers and students and system administrator. According to the standard of software development, the paper use Microsoft Sql Server 2008 and Java as well as three framework to achieve and test the entire system. From a user's perspective,the system possess these function as follow: administrator can add,delete,revise or query the information of class, teacher, student and courses; teacher can input, revise, delete, and scan scores of students, output their scores into a form, scan or revise basic information, reset password and so on; student can query his own scores, scan and revise his basic information, reset password and so on.
Keywords student score; management system; Web systems development; B/S mode
II
目录
1 引言 ......................................................... 1 1.1 项目背景 ............................................... 1 1.2 研究意义 ............................................... 1 1.3 项目概述 ............................................... 1 2 开发技术和工具概述 ........................................... 3 2.1 浏览器和服务器模式 .................... 错误!未定义书签。 2.1JSP网页技术概述 ......................................... 3 2.2 三层框架技术概述 ....................................... 4 2.3 Java语言 .............................................. 4 2.4 主要开发工具 ........................................... 4 2.5.1 Eclipse ........................................... 4 2.5.2 Microsoft Sql Server 2008 ........ 错误!未定义书签。 3 系统分析 ..................................................... 5 3.1 业务概述 ................................................ 5 3.2 系统需求 ................................................ 6 3.2.1 系统功能性需求 ..................................... 8 3.2.2 系统非功能性需求 ................................... 9 3.3 可行性分析 ............................................. 10 3.3.1 经济可行性分析 .................................... 10 3.3.2 技术可行性分析 .................................... 10 4 总体设计 .................................................... 11 4.1 系统总体结构设计 ...................................... 11 4.2 数据库设计 ............................................ 12 4.2.1 E-R图分析 ....................................... 12 4.2.2 数据库表的结构 ................................... 14 5系统实现 .................................................... 17 5.1数据库的实现 ........................................... 17
III
5.2数据库的配置 ........................................... 19 5.3系统主界面设计与实现 ................................... 20 5.3.1系统用户登录 ...................................... 20 5.3.2学生查询个人成绩 .................................. 20 5.3.3学生登录系统重置密码 .............................. 21 5.3.4老师查看和重置个人资料 ............................ 21 5.3.5老师录入学生成绩 .................................. 22 5.3.6老师查询学生成绩 .................................. 22 5.3.7管理员进行后台数据管理 ............................ 24 6 软件测试 .................................................... 25 6.1 软件测试的定义 ......................................... 25 6.2 软件测试的原则 ......................................... 25 6.3 软件测试结果 ........................................... 25 6.3.1 测试用例的定义 .................................... 25 6.3.2界面测试 .......................................... 25 6.3.3 功能测试 .......................................... 26 6.3.4 测试结果及结论 .................................... 26 总结 .......................................................... 27 参考文献 ...................................................... 28
IV