摘 要
着时代的进步,网络的应用已经相当普及,人们也认识到网络信息量大,传播方便快捷等特点,网上银行、网上商店、网上查分都应运而生。需求促进了技术的发展,而在这其中,PHP技术则因为可以进行复杂的数据库操作、很强的交互性以及方便用户控制管理且简便易学而备受青睐,成为当前相当热门的网络开发技术。MYSQL是一个真正的多用户,多线程的MYSQL数据库服务器。是一个客户机/服务器结构的实现,它由一个服务器守护程序MYSQL和不同的客户程序和库组成。由于其源码的开放性及稳定性,且与网站流行编程语言PHP的完美结合,很多站点都利用其作为后端数据库,获得了广泛应用。
本文首先介绍了PHP技术的工作原理、工作过程及其运行环境和PHP文件的编程特点,以及如何较好地配置PHP的需求环境,既使大家对PHP有更好的了解,同时也有利于更好地使用PHP技术。其次,介绍了教材管理系统,MYSQL数据库,包括MYSQL数据库数据类型和数据表,对MYSQL数据库数据操作的核心概念,即数据的添加、删除、修改和查询进行了简单的介绍。
关键词: PHP, MySql, Apache, 数据库,数据库实现,数据源 ,电子
高校教材
ABSTRACT
Abstract
With the development of the computer and technology of the network, it is popularized day by day in the world that Internet/Intranet uses, in numerous network services, web gives somebody the feeling of finding everything fresh and new, and among them, ASP carry on complicated data base operate , very strong interaction and help user control management and simple and convenient to learn and was favored while being easy to learn, become the quite hot network technology at present.
This article first introduced operationprinciple of the ASP technology, the working process and its running environments and the programming characteristic of the ASP document , as well as how does dispose the ASP demand environment well, since everybody has a better understanding to ASP, simultaneously is also advantageous to uses the ASP technology well. Secondly, having introduced the visit method based on Web data-base of Access relatively in detail, including how to establish and join, carry out inquiring and disposal and so on, combining the data-base technology and ASP technology theoretically. Thereafter, on the basis of this, this text come out the design and exploitation of a currency-check-affair system based on web—web registration sub-system, which based on network. Mainly recommend the foregoing preparation (software and hardware) and the design considering of basic constitutes and the implement of functions of the system (including signing up on the net, submitting photograph, querying result, maintain systematically, etc), and the specialties and security design of this system. Finally expound the matter and shortage of the system, in order to ameliorate better in the future .
Keywords:PHP, Mysql, Apache, database, DB implement, data source,E-GovermentAffair .
目 录
第一 章 引言……...…………………………….…………………3
§1.1 问题的提出….…………………..………………..3
§1.2 设计方案…….…………………..………………..3
§1.3 系统运行环境.…………………..………………..4
第 二章 设计的理论依据…………………………………………5
§2.1 Linux + Apache + MySQL + PHP 最优组合…5
§2.2 PHP, Apache, Mysql , Linux介绍……….……...6
§2.2.1 PHP……………...…………………………….6
§2.2.2 Apache……...………………………….……...7
§2.2.3 Mysql………...……………………………..…7
§2.2.4 Linux…...……………………………………...8
§2.3 安装及注意事项………………………………...8
第三章 开发过程……………………...……………………….…10
§3.1 设置服务器….………………...…………………10
§3.2 设置数据库…………………………………...….10
§3.2.1 创建数据库和数据表……….………...…...10
§3.2.2 数据库连接…………………...……………13
§3.2.3 创建数据源…….……...………..………….13
§3.3 系统功能实现…………………………………….14
§3.3.1 系统登录………..………………….………14
§3.3.2 教材规章制度……….…..…………………15
§3.3.3 重要通知…………...……………………....15
§3.3.4 最新教材信息…………….…..……………15
§3.3.5 信息查询…………………………..……….16
§3.3.6 管理员模块…………….……..……………20
§3.3.7 相关功能链接…………………..…….…....28
第四章 结束语…………………………………...…………….…29
第 五 章 参考文献…………………………..…...…………….…29
第一 章 引言
§1.1 问题的提出
在电子计算机技术发展日新月异的今天,计算机技术、网络技术和信息技术的发展和应用早已深入到了各行各业,并发挥着它们的巨大潜力,特别是网络的高速化、广泛化发展和运用。在我国,各类企业的改革,一切都在朝着社会化、高效化、智能化发展,管理体制的改革更是进行着大手笔。但是,国家高校职能的改革程度还远远不够。高校教材管理系统是计算机技术和网络迅速发展的一个高校办公应用解决方案。高校教材管理系统将Internet网络技术与现代管理观念相融合,针对信息技术的特点对办公系统进行规划和重构,对高校内部信息流进行优化及合理配置,生成动态的、安全的、专有的数字化信息源,将办公体系全面自动化,流程化,数字化。以此为桥梁,横向连接同事间的交流与协同工作,纵向实现上下级一体化的高效办公体系,从而更明确、更有效地支持高校的管理和决策。
§1.2 设计方案
本系统采用B/S结构,所有的程序及数据都放在服务器上,终端在取得相应的权限后使用Web页面浏览,录入,修改等功能。在语言方面使用PHP语言,在数据库上我们为了节约成本,采用了免费的MySQL数据库(当然,也可以移植到Oracle上),服务器使用Apache Web服务器。
高校教材管理系统 系统 |
处理流程如下图:
|
|
§1.2.1 功能要求
登 录:四种不同权限的人,管理员/系级人员/老师/学生,不同人登录后界面应有所不同,如果相同要做到不同功能并是是所有人都可用.
教材征订:教师通过每年的开课计划进行教材征订,征订的结果(订单号,教材编号,教材名,教材类型,作者,出版社及版本号,征订时间,征订人,所订班级,征订数量)由系级人员审批并保存,最后由管理员形成征订表单.之后是由采购员去买,与我们无关.
教材入库:和征订单比对后入库(可有可无),入库字段:教材编号,教材名,作者,出版社及版本号,市场价,实购价,数量,入库时间.
教材发放:在首页通知什么时间内领书,各班班长过来领.并记录领书人和所属班级.如果教师领书,只能领一本.每笔记录库存相应减少(在管理员界面实现)
相关查询:四种权限人员都可以查看教材情况(教材编号,教材名,教材类型,作者,出版社,库存量)
管理员还可查看:预定清单,发放清单,和财务清单并能开成报表(尽可能是可以查一段时间内的信息)
§1.2.2 实现形式
采用页面对话交互方式进行,把页面形成工具(DREAMWAVER4)和动态编辑工具(PHP)以及强大的数据库支持(MYSQL)融为一体&