首页 | 本学科首页   官方微博 | 高级检索  
     

基于Node.js中间层Web开发的研究与实现——以微信图书借阅平台为例
引用本文:仇 晶,黄 岩,柴瑜晗. 基于Node.js中间层Web开发的研究与实现——以微信图书借阅平台为例[J]. 河北工业科技, 2017, 34(2): 118-124
作者姓名:仇 晶  黄 岩  柴瑜晗
作者单位:;1.河北科技大学信息科学与工程学院
基金项目:国家自然科学基金(61300120)
摘    要:针对Web研发领域一直面临前后端耦合问题,在充分分析传统的互联网前后端Web软件开发的基础上,提出了引入Node.js作为中间层来解除前、后端之间耦合关系的新解决方案。设计了新的架构模式指导Web软件开发,从而达到提高开发效率、提升代码灵活性、明确开发人员工作职责等目的。基于此研究,真实开发了一个基于微信的图书借阅平台,并以此作为可行性检验的依据,该图书借阅平台使用微信作为前端执行环境,提供图书借阅、图书归还、图书入库、图书浏览功能。系统采用B/S架构,Node.js中间层和后端程序在服务器中运行,用户关注微信公众号后,可以通过微信聊天窗口接收服务器端讯息,也可以通过公众号菜单导航到前端界面,完成图书借阅分享操作,交互方式高效简洁。

关 键 词:计算机网络  Web开发方法  耦合与解耦  Node.js  中间层  移动终端
收稿时间:2016-10-26
修稿时间:2017-03-01

Research and realization of Web development based on Node.js middle layer: Taking Wechat book sharing
QIU Jing,HUANG Yan and CHAI Yuhan. Research and realization of Web development based on Node.js middle layer: Taking Wechat book sharing[J]. Hebei Journal of Industrial Science & Technology, 2017, 34(2): 118-124
Authors:QIU Jing  HUANG Yan  CHAI Yuhan
Abstract:Front-end and back-end''s code coupling together is a historical problem in Web development area. In this paper, a new solution of Web development is proposed to decoupling connections between front-end and back-end, where Node.js is used as middle layer. A new architecture is also introduced to point the new way of creating web apps, which can enhance efficiency and extend flexibility of development, and make the duty of programmer more clear. To prove the feasibility of our method, a Wechat book sharing platform is developed based on this idea. The platform provides book borrowing, book returning, book checkin and book browsing functionalities and runs on Wechat environment. The platform is based on B/S architecture, and Node.js acts as middle layer on server. Users may receive notifications in Wechat''s chatting interface or redirect to front-end webview page by clicking Wechat public accounts'' custom menu bar, accomplishing sharing operation of book lending and borrowing, which is convenient and efficient.
Keywords:computer network   Web development   coupling and decoupling   Node.js   middle layer   mobile terminal
本文献已被 CNKI 等数据库收录!
点击此处可从《河北工业科技》浏览原始摘要信息
点击此处可从《河北工业科技》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号