{"title":"将基于AngularJS的传统Web应用程序迁移到React组件架构的框架","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":"{\"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}","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}
Framework to Migrate AngularJS Based Legacy Web Application to React Component Architecture
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.