Framework to Migrate AngularJS Based Legacy Web Application to React Component Architecture

Thilanka Kaushalya, I. Perera
{"title":"Framework to Migrate AngularJS Based Legacy Web Application to React Component Architecture","authors":"Thilanka Kaushalya, I. Perera","doi":"10.1109/MERCon52712.2021.9525659","DOIUrl":null,"url":null,"abstract":"The next-generation component-based front-end frameworks such as React have outperformed AngularJS from both the end-user and developer expectations. The concepts, patterns, and architecture of the old school AngularJS application and the component-based React applications are different, hence the migration is not straightforward. This research defines a clear, cost-effective and efficient migration path from AngularJS applications to React applications. By comparing different approaches, the research provides a framework with a step-by-step guideline for migrating the presentation layer of any AngularJS based legacy application to a component-based React application. A migration assistant tool named Ng-React Copilot was implemented to guide the developer and automate the migration. The tool was developed by converting the critical refactorings proposed in the framework into a set of detection algorithms and providing the ability to scan against the given codebase. The tool works as a command-line tool as well as an integrated tool with popular IDEs. The framework and the tool were evaluated by applying them to selected small, medium, and enterprise-level AngularJS legacy applications and the results indicate the validity of the research findings.","PeriodicalId":6855,"journal":{"name":"2021 Moratuwa Engineering Research Conference (MERCon)","volume":"32 1","pages":"693-698"},"PeriodicalIF":0.0000,"publicationDate":"2021-07-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Moratuwa Engineering Research Conference (MERCon)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MERCon52712.2021.9525659","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The next-generation component-based front-end frameworks such as React have outperformed AngularJS from both the end-user and developer expectations. The concepts, patterns, and architecture of the old school AngularJS application and the component-based React applications are different, hence the migration is not straightforward. This research defines a clear, cost-effective and efficient migration path from AngularJS applications to React applications. By comparing different approaches, the research provides a framework with a step-by-step guideline for migrating the presentation layer of any AngularJS based legacy application to a component-based React application. A migration assistant tool named Ng-React Copilot was implemented to guide the developer and automate the migration. The tool was developed by converting the critical refactorings proposed in the framework into a set of detection algorithms and providing the ability to scan against the given codebase. The tool works as a command-line tool as well as an integrated tool with popular IDEs. The framework and the tool were evaluated by applying them to selected small, medium, and enterprise-level AngularJS legacy applications and the results indicate the validity of the research findings.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
将基于AngularJS的传统Web应用程序迁移到React组件架构的框架
下一代基于组件的前端框架,如React,无论从最终用户还是开发人员的期望来看,都已经超越了AngularJS。老派AngularJS应用程序和基于组件的React应用程序的概念、模式和体系结构是不同的,因此迁移并不简单。这项研究定义了一条清晰、经济、高效的从AngularJS应用到React应用的迁移路径。通过比较不同的方法,该研究提供了一个框架,并提供了将任何基于AngularJS的遗留应用程序的表示层迁移到基于组件的React应用程序的逐步指南。实现了一个名为Ng-React Copilot的迁移辅助工具来指导开发人员并自动化迁移。该工具是通过将框架中提出的关键重构转换为一组检测算法而开发的,并提供了针对给定代码库进行扫描的能力。该工具既可以作为命令行工具,也可以作为与流行ide集成的工具。通过将框架和工具应用于选定的小型、中型和企业级AngularJS遗留应用程序,对它们进行了评估,结果表明了研究结果的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Comparative Study on Protective Measures against Spalling Slab Concrete Optimization of Hemicellulose Recovery from Rice Straw for Biorefinery: Dilute Acid Pretreatment at Reduced Temperatures An Analytical Design & Optimization approach to enhance Warehouse Operations Design of a Novel 3D-Printed Soft Actuator for Clenched Fist Rehabilitation Process Optimization of Microfibrillated Cellulose Extraction from Cotton Waste Using Response Surface Methodology
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1