SOFTWARE METHODS ANALYSIS OF OPTIMIZING THE LOCAL STATE OF DATA WEB APPLICATIONS MANAGEMENT

Lyubov Оleshchenko
{"title":"SOFTWARE METHODS ANALYSIS OF OPTIMIZING THE LOCAL STATE OF DATA WEB APPLICATIONS MANAGEMENT","authors":"Lyubov Оleshchenko","doi":"10.20535/kpisn.2022.1-2.260552","DOIUrl":null,"url":null,"abstract":"Background. The use of various libraries often leads to a decrease in the speed of the web application and the complexity of the execution of the program code. The object of this study is the process of storing and managing the data of the client part of the web application, the subject of the research is the software methods of managing the local state of the data of the web application. \nObjective. The goal of the article is the reduction in the data processing time of web applications relative to existing software methods. \nMethods. The main idea of ​​the proposed method is to use an atomic approach to the state of the web application data. Having an arbitrary entity, in the general state of the web application, a state fragment is created that is responsible only for this entity. Such a fragment is independent of other state fragments and can only work with the encapsulated entity. Using encapsulation, the configuration of an entity is passed to the React Context API as an object containing data and functions that modify it. \nResults. The developed framework method was compared with popular state management libraries Redux, MobXState-Tree and Recoil. Comparing each of the test scenarios in a percentage ratio, an average decrease in program execution time by 17% was obtained. \nConclusions. The Redux, MobXState-Tree, and Recoil libraries were selected for the research of existing software methods. The analysis of methods was performed using the SonarQube utility. To evaluate the results of the software methods, the Google Chrome browser utility DevTools was used. The proposed optimized software method allows to reduce the data processing time and optimize the state management of web applications. \n  Keywords: web application, optimization, local state of data, Redux, MobXState-Tree, Recoil.","PeriodicalId":33112,"journal":{"name":"KPI Science News","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-12-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"KPI Science News","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.20535/kpisn.2022.1-2.260552","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Background. The use of various libraries often leads to a decrease in the speed of the web application and the complexity of the execution of the program code. The object of this study is the process of storing and managing the data of the client part of the web application, the subject of the research is the software methods of managing the local state of the data of the web application. Objective. The goal of the article is the reduction in the data processing time of web applications relative to existing software methods. Methods. The main idea of ​​the proposed method is to use an atomic approach to the state of the web application data. Having an arbitrary entity, in the general state of the web application, a state fragment is created that is responsible only for this entity. Such a fragment is independent of other state fragments and can only work with the encapsulated entity. Using encapsulation, the configuration of an entity is passed to the React Context API as an object containing data and functions that modify it. Results. The developed framework method was compared with popular state management libraries Redux, MobXState-Tree and Recoil. Comparing each of the test scenarios in a percentage ratio, an average decrease in program execution time by 17% was obtained. Conclusions. The Redux, MobXState-Tree, and Recoil libraries were selected for the research of existing software methods. The analysis of methods was performed using the SonarQube utility. To evaluate the results of the software methods, the Google Chrome browser utility DevTools was used. The proposed optimized software method allows to reduce the data processing time and optimize the state management of web applications.   Keywords: web application, optimization, local state of data, Redux, MobXState-Tree, Recoil.
软件方法分析优化了web应用程序的本地状态数据管理
背景。使用各种库通常会降低web应用程序的速度和程序代码执行的复杂性。本文研究的对象是web应用程序客户端部分数据的存储和管理过程,研究的主题是web应用程序数据本地状态管理的软件方法。目标。本文的目标是相对于现有的软件方法减少web应用程序的数据处理时间。方法。该方法的主要思想是使用原子方法来处理web应用程序数据的状态。有一个任意的实体,在web应用程序的一般状态下,一个状态片段被创建,只负责这个实体。这样的片段独立于其他状态片段,并且只能与被封装的实体一起工作。使用封装,实体的配置作为包含数据和修改它的函数的对象传递给React Context API。结果。将所开发的框架方法与当前流行的状态管理库Redux、MobXState-Tree和Recoil进行了比较。以百分比比率比较每个测试场景,程序执行时间平均减少了17%。结论。选择Redux、MobXState-Tree和Recoil库对现有的软件方法进行研究。使用SonarQube实用程序对方法进行分析。为了评估软件方法的结果,使用谷歌Chrome浏览器实用程序DevTools。提出的优化软件方法可以减少数据处理时间,优化web应用程序的状态管理。关键词:web应用,优化,本地数据状态,Redux, MobXState-Tree, Recoil
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
4
审稿时长
10 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信