摘要
针从对很多传统高校"请假难"而且浪费时间,效率不高的问题,提出基于RESTful架构在线请假管理系统。使用Flask框架,选择MySQL作为数据库并利用SQLAlchemy进行ORM,采用RESTful API编程,在达到敏捷开发的同时提高系统的复用性,可为PC Web端、Mobile端、Android、iOS等多终端提供服务。前端以微信小程序为例实现,完成学生请假,辅导员批假,任课教师接收假条三角色的功能,同时支持调用相机拍照并上传等实用功能。实际测试表明达到用户需求、且开发周期短、资源占用低,加载速度快,易于维护,达到预期的效果。
In response to the problem of Asking Leave Difficulty along with the problem of inefficiency in many traditional colleges, establishes an online leave manage system based on RESTful. Uses Flask framework as backend, chooses MySQL as the database, SQLalchemy framework for ORM, and adopts RESTful API programming, which can improve reusability while achieving agile development. It can serve for multiterminal devices such as PC, Android and IOS. Develop WeChat miniprogram as a frontend example to realize three main functions as student’s leave, counselor’s approval and teacher’s receiving messages, also supports the practical function of capturing from camera before upload. The actual test meets the customer requirements. Besides, short development cycle, low resource consumption, high loading speed and easy maintenance can be seen. The system has achieved expected effect totally.
作者
朱勇
伏海旭
ZHU Yong;FU Hai-xu(School of Computer Engineering,Nanjing Institute of Technology,Nanjing 211167)
出处
《现代计算机》
2018年第24期96-100,共5页
Modern Computer
基金
南京工程学院大学生科技创新基金(No.TB201801026)