基于NodeJS的自适应浏览器高性能Web应用平台研究
发布时间:2018-04-04 13:33
本文选题:Web应用平台 切入点:NodeJS 出处:《杭州电子科技大学》2017年硕士论文
【摘要】:随着互联网技术不断发展,越来越多的应用转移到Web平台上实现,进而使得Web应用的功能和交互变得越来越复杂。为了适应丰富而复杂的功能,Web应用平台技术得以快速的发展。其中,NodeJS网络应用开发平台、AngularJS前端框架技术、RequireJS以及在兼容性方面表现出色的Bootstrap框架等以其自身强大的优势脱颖而出。本文正是基于NodeJS、AngularJS、RequireJS优秀的前沿技术设计实现一种全新的面向Web开发者的自适应浏览器高性能Web应用平台。本文首先从自适应浏览器Web应用方面进行了设计研究,本文提出一种新的设计模式MVVM,结合AngularJS技术的双向数据绑定特性,在Bootstrap框架的基础上,设计出基于AngularJS版本的自适应浏览器前端组件库。同时使用RequireJS对应用平台进行组织模块依赖管理设计,实现了模块化开发。然后对应用平台性能提升进行了设计与实现,后端服务器是影响Web应用性能最为关键的一环,其次是数据传输,数据发送请求到服务器的时间以及服务器应答的时间也是极其重要。本文基于NodeJS网络应用平台设计与实现一种高性能Web应用后端服务器架构,在数据传输方面采用一种改进型数据压缩算法实现数据的压缩,以及Grunt自动化封装构建项目的实现,从而为Web应用开发者提供了完善且高效的后端开发架构。最后对应用平台系统架构进行了测试分析与实现,对AngularJS版本的前端组件库的兼容性进行了测试以及实现了AngularJS代码单元性测试,并对前端性能优化进行了分析;测试了应用平台服务器性能,并实现了一种后端服务器性能仿真测试算法和异步编程算法,然后对服务器性能和项目编译能力进行了测试。为Web开发者搭建完备的测试环境。测试结果表明,本文Web应用平台前端组件库在各主流浏览器的兼容性方面表现良好,服务器性能比传统服务器在接收请求响应时间上明显要快,初步实现了Web应用平台兼具自适应浏览器和高性能的预期目标,同时为Web应用开发者提供了一个相对完备的测试环境。
[Abstract]:With the development of Internet technology, more and more applications are implemented on Web platform, which makes the functions and interactions of Web applications more and more complex.In order to adapt to the rich and complex functions of Web application platform technology has been rapid development.Among them, Node JS network application development platform, Angular JS front-end framework technology, and Bootstrap framework, which has excellent compatibility, stand out because of its own powerful advantages.This paper is based on Node JS Angular JS excellent cutting-edge technology to design and implement a new adaptive browser high performance Web application platform for Web developers.In this paper, we first study the application of adaptive browser Web. We propose a new design pattern, MVVM, which combines the bidirectional data binding characteristics of AngularJS technology, and based on the Bootstrap framework.An adaptive browser front end component library based on AngularJS version is designed.At the same time, RequireJS is used to design the organizational module dependency management of the application platform, and the modularization development is realized.Then the performance improvement of the application platform is designed and implemented. The back-end server is the most critical link affecting the performance of Web application, followed by data transmission.The time the data is sent to the server and the time the server responds is also extremely important.This paper designs and implements a kind of high performance Web application back-end server architecture based on NodeJS network application platform, uses an improved data compression algorithm to realize data compression in the aspect of data transmission, and realizes the construction project of Grunt automatic encapsulation.Thus, it provides a perfect and efficient back-end development architecture for Web application developers.Finally, the system architecture of the application platform is tested and implemented, the compatibility of the front-end component library of AngularJS version is tested and the AngularJS code unit test is implemented, and the front-end performance optimization is analyzed.The server performance of the application platform is tested and a back-end server performance simulation test algorithm and asynchronous programming algorithm are implemented. Then the server performance and the project compilation ability are tested.Build a complete test environment for Web developers.The test results show that the front-end component library of the Web application platform performs well in the compatibility of the major browsers, and the server performance is obviously faster than the traditional server in receiving request response time.The Web application platform has both adaptive browser and high performance and provides a relatively complete testing environment for Web application developers.
【学位授予单位】:杭州电子科技大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP393.09
【参考文献】
相关期刊论文 前10条
1 任乐乐;;AngularJS技术及其应用实践研究[J];科学中国人;2016年17期
2 高飞;何利力;高金标;;基于Node.JS内存缓存的Web服务性能研究[J];工业控制计算机;2015年11期
3 许会元;何利力;;NodeJS的异步非阻塞I/O研究[J];工业控制计算机;2015年03期
4 杨国勋;鄢军霞;;Java Web应用开发中的中文乱码问题研究[J];科技传播;2014年24期
5 祝r,
本文编号:1710167
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/1710167.html