毕业设计(论文)-基于phpapachemysql的教师教学过程评价.docx_第1页
毕业设计(论文)-基于phpapachemysql的教师教学过程评价.docx_第2页
毕业设计(论文)-基于phpapachemysql的教师教学过程评价.docx_第3页
毕业设计(论文)-基于phpapachemysql的教师教学过程评价.docx_第4页
毕业设计(论文)-基于phpapachemysql的教师教学过程评价.docx_第5页
已阅读5页,还剩35页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

supervision in large and medium goods vehicle. A is established large vehicles and small vehicles classification management of motor vehicle test mode, increased medium van car, and dangerous goods transport car, and school car test project; II is established motor vehicle test regulatory platform, achieved motor vehicle test full process video, and data remote regulatory; three is strictly motor vehicle identification management, equipped with unified of identification equipment and tool, using mobile identification Terminal, and law enforcement records instrument, technology identification means. As to 20XX years June 20 statewide motor vehicle keep volume for 567,408 car, and last year earlier than growth 75,814 car, growth 13.36%; this year January-June, vehicles management section and license archives management section total accepted the motor vehicle registration business 42,543 car times, which registered registration 6,905 car times, and transfer registration 3,592 car times, and change registration 1033 car times, and mortgage registration 696 car times, and cancellation registration 187 car times, and into business 980 car times, and Archives corrections 81 pieces times, and issued test qualified logo 25,429 car times, and other vehicles business 3,640 car times; supervision Survey Section relies on motor vehicle detection remote issued test qualified logo software platform supervision motor vehicle test, and identification situation 7418l liangci, investigation motor vehicle exception business 30 car times, his pards business warning 244 article, vehicles and driving people sound video regulatory screenshots 1852 Zhang, checks motor vehicle archives 716 pieces times, and medium bus, and medium above truck, and Of hazardous chemicals, vehicles and school buses and other key vehicle inspection record of 420. (C) based on their own, and strict adherence to defense, more cheating, false false fugitive suspects, robbery suspect vehicles and the Internet crackdown. DMV full play to the first line of Defense position control, investigating cheating, fake identification and robbery suspect vehicles through operational work, and carefully examine the documents and legal proof, check traffic violations, traffic accidents, the fugitive suspect suspected vehicles and theft than to work, further tight car, driving management business formalities review procedures. . Truck driver information management platform. Motor vehicles and traffic police departments, State transport authority to further clarify the Division of labour, implementation responsibility, strengthen our collaboration and management together, reinforcing the management of drivers on which strongly synthetic warfare and information warfare. 3 strictly implemented. From May 1 up, a is implemented complex road and bad weather driving exam, currently DMV is urged contractors party in treasures driving school increased simulation Highway, and continuous urgent detours, and snow days, and wet sliding road, and burst situation disposal, subjects II field to driving exam project, is expected苏州市职业大学毕 业 设 计 说 明 书毕业设计题目 基于php+Apache+mysql的教学过程评价软件 的实现 系 计算机工程系 专业班级 10软件测试 姓 名 朱 坤 学 号 106307140 指导教师 曾 海 2013年 5 月 3 日to September end of Qian by standard completed transformation; II is implemented on medium van car actual road driving exam qualified Hou, increased security civilization driving common sense exam, carried out new driving people led card Qian education and led card Hou visit; Three is implemented driving people exam full process real-time regulatory, is contact subjects three exam system production manufacturers, is expected to September end of Qian in exam car Shang added loaded for exam students of camera, completed subjects three video, and audio monitoring; four is implementation driving training quality full process regulatory, statewide 15 home driving training institutions car class driving people training has all application computer timing training management system, fingerprint recognition system is implementation, is expected to October 1 Qian completed installation. Exists problem: recalled first half of of work, vehicles management although made has must of results, but and superior led of high standards, and strict requirements also has gap, away from social and people increasingly growth of service requirements also has insufficient, away from constantly new of car tube work also has many does not apply echo urgently solution of problem: main performance in: a is with I State urban and rural political, and economic, and culture of constantly prosperity development, driving people keep volume growth of momentum increased, third quarter, Will and ushered in driving people training exam work of and a unprecedented of peak, driving people exam work will faced new of pressure and challenge; II is vehicles high-speed growth situation still will keep more long period, motor vehicle keep volume growth 13.36%, driving people keep volume growth 9.35%, led to this year motor vehicle keep volume 567,408 car is greater than driving people keep volume 565XX6 people of not reasonable phenomenon, vehicles management work faced of situation will more severe; three is complex changeable of social environment and public opinion power, To police vehicles management work brings new test, current society public opinion is complex, to network for focus of opinion supervision power constantly grow, effect increasingly wide, in management service and actual law enforcement in the slightly not note on will caused social and media concern, was Internet focused or zoom, quickly formed social hot, even evolution into involved method involved police event; four is team itself quality capacity, in severe of situation before exposure show many of gap and problem, main reflected in: implement implementation than Shi, work responsibility not in place, Work style is not pragmatic, aroused great attention. Second half of the work plan: bridgehead Wenshan High prospect of construction of inspiring, the DMV will be poised, firmly grasp the top two strategic opportunities, combined with the ethnic minority regions, and firmly establish the concept of people-oriented, law enforcement for the people, adhere to the style of truth, excellence, always adhering to1摘 要教学过程评价是教学评价的重要环节之一,开发一个教学过程评价软件有助于加强教学过程评价的规范性和并且提高效率。本设计基于Apache+MySQL+PHP技术开发,此技术组合开源、高效,非常适合开发教学过程评价软件。用户在使用这套软件时,可以通过不同身份登录到不同模块,进行相应功能的操作。无身份者不能使用程序。软件用户分为三类,主要包括管理员、教师以及学生等。毕业设计完成主要功能有三个:1、评价体系设定模块2、教师过程评价及打分模块3、学生查询学习进展数据和曲线模块等。其中服务器采用Apache,后台数据库采用MySQL ,开发语言使用PHP语言。论文主要阐述了设计的原理、服务器的搭建、开发环境、详细设计以及在测试中遇到的错误与解决方案。关键词:教学过程评价 PHPMySQlApacheEclipseTitle: Implementation Of A Teaching Process Assessment Software Based On Php,Apache and Mysql CombinationAbstract: Teaching process assessment is the one of the most important elements of process evaluation, an appropriate assessment software can improve the normalizationapp:addword:normalization and efficiency of teaching affairs. This design based on Apache+MySQL+PHP technologies ,the combination is consists of open source softwares and very efficient for developers. Program users can log into the software as different roles and get the appropriate rights. Users who do not have permissions can not operate the program. Users are classified into three catalogs: admins,teachers and students . The program implements three functions: 1、Teaching amassment setup module 2、Teaching process assessment module 3、Query of study progress data and curves for students.I use Apache as web server,MySQL as database engine ,PHP as programming language .The article describes the principle of design, the setup of server and development environment,coding and debug process etc.Keywords: Teaching Process; Assessment ; PHP ; Apache ; MySQL ; Eclipse目录1 引言61.1 背景介绍61.2 开发教师教学过程评价系统的目的和意义61.3 可行性分析71.3.1 风险分析71.3.2 技术可行性71.4 环境配置71.4.1 运行环境要求71.4.2 环境配置过程82 系统需求分析112.1 系统业务流分析112.2 数据库E-R图142.3 数据表设计213 详细设计243.1 主页243.2登录模块253.3 管理员模块263.4 教师模块273.5 学生模块303.6 公用类与相关截图314代码错误及解决方案334.1 cookies设置334.2 数组问题334.3 数据库字符集问题334.4 插入语法错误:334.5 页面重定向错误344.6 数据库问题354.7 mysql函数问题364.8 画曲线不成功36总 结38致 谢39参考文献40391 引言1.1 背景介绍教学过程评价是对教学过程进行系统分析,整体评价,是对教学过程中存在的各个环节、各项活动进行观察与评价。实施教学过程评价前必须确定具体的观察点和观察指标。在各种动态网站开发技术中,Apache+MySQL+PHP组合以其开源性和跨平台性而著称,被誉为黄金组合并得到广泛应用。PHP是一种服务器端解释的脚本语言,它是目前最流行的一种脚本编程语言。PHP可以产生动态网页,他功能强大,可以和HTMl脚本融合到一起并互相嵌套,且有内置数据库访问功能。教师教学过程评价系统是基于Apache+MySQL+PHP组合完成的B/S系统。系统中设定了管理者,教师,学生三个模块。各个模块具有相应的不同功能。1.2 开发教师教学过程评价系统的目的和意义教学过程评价是学校提高教学效果的必要方法。在教学过程中通过不同的作业形式对学生的学习方式、学习积极性、学习效果进行评价。通过不同的作业形式也可以调动学生学习的积极性来提高教师的教学效果。 管理员通过对班级、教师、学生和各课程章节的统一管理使观察点与观察指标统一化,有利于统一管理。教师可以下载学生作业查看,可以为学生的作业评价分数,可以查看学生的某一课程的分数曲线,有利于调整教学计划。学生可以上传作业,可以查看自己的某一课程分数,有利于调整自己的学习状态。从而编写软件系统提高教学过程评价的执行力、易操作性是迫不及待的,是符合教学方法发展的。对于同一课程组在整个教学全过程中,可以定义若干标准化的评测结点,所有教师使用一样的评测体系,在固定结点上按固定标准进行打分并记录。学生可以实时看到学习进展数据和曲线。评测的内容可以定义为作业 、上机程序、作品,评测分数可以记录,被评测内容可以上传。1.3 可行性分析1.3.1 风险分析由于PHP在客户端对参数进行加密无意义,所以存在密码在传递过程中被恶意手动截取的危险。由于在公司才开始接触语言,所以可能会出现在规定时间内完不成该系统的风险。1.3.2 技术可行性PHP与ASP非常类似,但PHP区别于ASP的显著特点在于其开源性和跨平台性。通过大学三年的学习,我对ASP有了一定的了解,能用ASP简单的完成小网站的设计与实现,这为我用PHP语言设计并实现教学过程评价系统提供了可能。下面是Apache+MySQL+PHP组合的特点。Apache特点:功能强大,性能稳定,而且完全免费,开放源代码。PHP特点:为开放性源代码,运行于服务器端,跨平台性,语言简单易学,执行效率高,有图像处理功能,数据库访问功能,面向对象编程,可伸缩性。MySQL特点:快速可靠易于使用,工作在客户端服务器模式下或嵌入式系统中,真正的多线程,跨平台性,数据类型丰富,安全性好,连接性好。PHP语言简单易学使我用这种语言完成系统的可能提高了很多。开发工具Eclipse简单易用提高了完成的可能。1.4 环境配置1.4.1 运行环境要求客户机硬件要求:具有 Pentium III 处理器以上且满足以下要求的计算机:最低 64 MB 内存,最小 2.1 GB 硬盘。服务器硬件要求:具有 Pentium III 处理器以上且满足以下要求的计算机:最低 256MB 内存,最小 16 GB 硬盘。客户端:操作系统:Linux、UNIX、Windows 7/NT/2000/XP或更高版本。浏览器:IE 6.0以上。服务器配置: Apache操作系统:Windows 2000 Server或者Windows 2003 Server。Web服务器:Apache。应用服务器:Apache等企业级应用服务器。数据库:MySQL5.0以上。1.4.2 环境配置过程将跟论文的压宿文件中文件夹www与xampp解压在D盘目录下。图1-1 跟论文压缩文件图1-2 xampp运行环境文件夹,www工作目录打开C:WINDOWSsystem32driversetc文件夹下hosts文件,在其末尾添加 如果不用php+apache+mysql集成环境,则打开您所用的apache中D:apacheconfextrahttpd-vhosts.conf文件,在文件末尾添加代码: ServerAdmin DocumentRoot D:/www/TeachingProcess ServerName ServerAlias ErrorLog logs/-error.log CustomLog logs/-access.log combinedOptions AllAllowOverride AllAllow from all并将该文件中#NameVirtualHost *:80的#去掉,变为NameVirtualHost *:80。同时将压缩文件php+apache+mysql集成环境中xamppmysqldate里的teachprodb 文件夹复制到所用的MySQL相同目录下。打开D:xamppxampp-control.exe图1-3 运行前服务器状态图1-4 运行后服务器状态如点击start后未成功运行请多次点击运行程序:在浏览器中输入即可,数据在表曾海指导学生.xls中。文件夹xampp为服务器数据库以及php集成环境,文件夹www为工作目录。Xampp文件夹中环境已经配置好了。点击xampp控制器中admin可以管理mysql数据库(管理员:admin,密码为空),apache服务管理(不建议使用)。2 系统需求分析教学过程评价系统需要实现的模块如下表2-1: 主页模块登录模块管理员模块教师模块学生模块进入登录页面页面展示登录信息输入登录功能实现返回主页课程组定义课程定义评测结点定义添加教师,班级,学生,管理员修改个人信息等评测结点评分评测结果导出学生个人分数曲线修改个人信息等查看教学信息提交作业查看章节分数查看个人分数曲线修改个人信息等查看教学信息2.1 系统业务流分析业务流程图(简称TFD),就是用一些规定的符号及连线来表示某个具体业务处理过程。管理员:管理员登陆后可以进行课程组定义,课程定义,评测结点定义,添加教师,添加班级,添加学生,添加管理员,修改个人信息等操作。教师:教师登陆后可以进行评测结点评分,评测结果导出,学生个人分数曲线,修改个人信息的操作。学生:学生登陆后可以进行提交作业,查看章节分数,查看个人分数曲线,修改个人信息的操作。管理员登录课程组定义课程定义添加教师添加班级评测结点定义添加学生添加管理员修改个人信息图2-1 管理员功能流程图查看教学信息教师登录评测结点评分义学生分数曲线评测结果导出修改个人信息图2-2 教师功能流程图查看教学信息学生登录提交作业个人分数曲线查看章节分数修改个人信息图2-3 学生功能流程图2.2 数据库E-R图学生班级属于联系方式院系专业班名班号班级密码性别姓名学号人数n1图2-4 “学生”与“班级”的E-R模型性别学号学生姓名密码专业选课课程课程号教室成绩课程名联系方式mn图2-5 “学生”与“课程”的E-R模型课程名图2-6 “课程”与“课程组”的E-R模型教室成绩课程号课程属于课程组课程组号课程组名专业院系11课程课程名课程号教室教师教学教师名工号性别密码图2-7 “课程”与“教师”的E-R模型nn成绩联系方式课程课程名课程号教室结点包含结点名结点号分数图2-8 “课程”与“结点”的E-R模型1n结点包含结点名结点号分数n1作业作业名作业号作业类型图2-9 “作业”与“结点”的E-R模型上交时间结束时间教师教师名工号性别密码联系方式Admin添加工号密码住址电话手机QQ图2-10 “Admin”与“教师”的E-R模型nm学生学生名学号性别密码联系方式Admin添加工号密码住址电话QQnm专业图2-11 “Admin”与“学生”的E-R模型教师教师名工号性别密码联系方式Admin添加AdminID密码住址电话QQ图2-12 “Admin”与“学生”的E-R模型2.3 数据表设计(1) 表1 管理员表admin_db:admin_id作为登录名 表2.3-1 字段名解释(2) 表2 教师表teachers_db:teacher_id作为登录名表2.3-2字段名解释(3) 表3 学生表students_db:student_id为登录名表2.3-3字段名解释(4) 表4 班级表classes_db:表2.3-4字段名解释(5) 表5 课程组表coursegroup_db: 表2.3-5字段名解释(6) 表6 班级课程表classescourses_db:表2.3-6字段名解释(7) 表7 学生分数表studentsscores_db:表2.3-7字段名解释3 详细设计详细设计的逻辑为,管理员通过本系统添加班级、学生、老师与管理员的数据,添加课程组、课程、课程节点评分的定义。然后老师可以根据管理员添加的数据进行查看自己可以教的班级并进行教学,进行教学过程评价。学生可以根据管理员添加的数据进行查看自己所在班级的课程等信息,可以上传课程作业,可以查看自己的学习成绩等。3.1 主页本界面是静态页面展示,含有进入登陆界面功能。所有界面都有读取当前日期功能图3-1 页面信息展示图3-2 登录功能与日期显示功能图片导入主页面代码。登录功能代码: 显示登录控件,loginbut为提交控件,login.php为登录页面,post为传递参数的方法。日期显示代码:。date_default_timezone_get(PRC)设置网页获取时间显示为东八区时间,date为函数获取当地时间并设置为年月日的格式。PHP语言与HTML语言的嵌套如下所示: 3.2登录模块本模块主要实现登录参数输入,成功登录系统。需要输入用户名与密码,还要选择以何种身份登录。图3-3 登录功能截图连接数据库,选择字符集与数据库:$con=mysql_connect(localhost,admin,)or die (对不起:数据库连接不成功!);mysql_query(SET NAMES UTF8);为设置网页获取字符串字符集 mysql_select_db(teachprodb);为选择数据库函数对输入的用户名、密码进行正则匹配。输入不符合规则的用户名密码点击登录后仍会留在登陆界面,通过本界面不选择角色登陆的用户无法进入用户系统。定义正则表达式:$matcuser=/0-96,9$/; $matcpass=/a-zA-Z1-9_a-zA-Z0-9_5,13$/;正则匹配函数:preg_match(),$matcuser为6到9位数字,$matcpass为6到14位含数字、_、字母的字符串设置cookies保存用户数据,后面会大量用到cookies参数进行运行:function ActionCookies($UserName,$User_id),自定义ActionCookies函数。为了保护用户密码,这儿用md5函数对密码加密,然后再与已经从数据库中取出的密码进行比较。 然后根据结果进入不同的界面,用到header函数,如:header(Location: /admin/admin_index.php); 最后必须关闭数据库连接:mysql_close($con);3.3 管理员模块教师模块,学生模块的静态代码与管理员模块的静态代码很相似,页面也基本相似。管理员模块主要功能有课程组定义,课程定义,课程节点定义,添加管理员、教师、学生、班级信息,修改个人信息等功能。静态页面如图:图3-4 静态页面展示点击相应功能键后会出现如图所示相应页面,然后添加数据,点击相应功能键。在将数据添加进数据库中前先要判断输入的数据是否合法并给出相应提示信息。图3-5 管理员添加数据界面功能实现,检测数据是否合法,是否为空:(preg_match($mac,$_POSTcoursegroup_id )&($_POSTcoursegroup_name)&($_POSTteachers)&($_POSTmajor)&($_POSTdepartment)=true去掉传递的参数中末尾干扰空格:trim($_POSTcoursegroup_id)。将SQL语句赋值给$query。,SQL语句如select course_name,class_name from course_db where teacher_id=.$_COOKIEuser_id.,.$_COOKIEuser_id.为PHP的字符串联接SQL语句的实现函数:mysql_query($query)。其他功能都是将数据插入数据库的功能,与上述逻辑、原理相同。3.4 教师模块教师模块主要功能有评测结点评分,评测结果导出,学生个人分数,修改个人信息。进行评测结点评分时先要选择课程,班级,章节,学生,如果有作业上传,可以先下载作业进行查看如图:图3-6 筛选符合条件的学生图3-7 评分与下载功能页面条件筛选实现代码: 请选择课程名称: ?php while($row=mysql_fetch_array($result) echo.$rowcourse_name.;? 请选择班级名称:?php echo.$rowclass_name.; ? 请选择章节名称:?php $result为mysql_query函数运行后的结果集,mysql_fetch_array为将结果集中结果取出来用数组的形式表示,这样好取结果使用,如$rowclass_name即结果集中指下标为class_name的值。HTMl与PHP代码相互嵌套,实现动态化。下载功能代码:header(Content-Disposition: attachment; filename=.$rowworkspath.);filename=.$rowworkspath.:文件名为数据库中字段为workspath的路径和文件名。章节分数查看,先进行条件筛选,选出自己想看的班级所教的课程,如图:图3-8 章节分数查看条件筛选功能实现结果图: 图3-9 章节分数查看结果查看所教课程信息的原理与章节查看相似,同样是画表列数据,代码如下: 查看章节分数筛选条件与课程节点评分条件筛选代码相似,结果页面显示代码就是在网页上画表格显示结果的代码,与条件筛选的原理相同,如下:学生姓名 分数 ?php while($row1=mysql_fetch_array($result) echo .$row1student_name.$row1worksscore.;/表格中输出学生姓名 ?学生个人分数曲线查看,同样要先进行条件筛选,最后在页面上进行画图操作,如图:图3-10 学生分数曲线图$insert=new InsertImage(worksscore, nodes, $query4);$insert-insertimage();带入参数将对象实例化,调用类中自定义函数insertimage画出曲线图修改个人信息功能与学生模块添加修改信息功能基本相同,不同的只是SQL语句中表名,字段名的区别。更新数据,结果如图:上述teacher_index.php页面所有的数据库查询用的是同一个数据库链接,见3.2登录开始部分。3.5 学生模块除

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论