摘要
针对目前智能课堂的研究,关于课程的管理系统就提出来了。因此,开发了一种基于Tornado和React技术的课程管理系统。通过Tornado框架作为后端框架,实现数据库中数据的增、删、改、查操作,Tornado与现在主流的Web服务器框架相比有着明显的优势:它是非阻塞式服务器,而且速度相当快,这对于当下的Web开发来说至关重要。前端部分采用React技术将前台表单中输入的数据传输到后端数据库中,并且对数据库中的数据进行相应的操作,React的一切都是组件化的,使得代码更加的模块化,重用代码将变得更加容易,可维护性极高。该系统的开发过程还彻底的实现了前后端分离,前后端的联系仅靠API联系起来,前端部分的开发引用了Mock-api这一虚拟的服务端接口完成前端部分开发。这一开发技术路线充分展现了Tornado和React对Web开发的优势所在,也可以提高这一系统的可维护性。
In view of the current researches on intelligent classroom,the curriculum management system has been put forward.Therefore,a curriculum management system based on Tornado and React has been developed where Tornado framework is used as the back-end framework to realize the operation of adding,deleting and checking data in the database.Compared with the current mainstream Web server frameworks,Tornado has obvious advantages:it is a non-blocking server,and its speed is quite fast,which is very important for current Web development.The front-end part uses React technology to transfer the data input from the front-end forms to the back-end database,and carries on the corresponding operation of the data in the database.React is wholly component-based,which makes the codes more modularized,and makes the reuse of the codes easier and more maintainable.The development process of the system also completely realizes the separation of front and back ends.The connection between front and back ends only depends on API.The development of front-end part refers to Mock-api,a virtual server interface,to complete the separation of front and back ends.This development technology fully demonstrates the advantages of Tornado and React for Web development,and also improves the maintainability of this system.
作者
刘涛
孙茜
易善凯
LIU Tao;SUN Xi;YI Shankai(University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《软件工程》
2018年第12期22-24,共3页
Software Engineering