Comparison Between Python and Web User Interfaces
Yoon, GeonHui (2022)
Yoon, GeonHui
2022
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022100720943
https://urn.fi/URN:NBN:fi:amk-2022100720943
Tiivistelmä
This thesis explores the differences between the software libraries used to create web-based and native user interface applications. The thesis shows the comparison between React.js and PyQt5 libraries and discusses the criteria for the comparison.
A theoretical analysis of React.js and PyQt5 is given to highlight the key features of each library. The popularity, licensing, and availability of documentation of each library are analysed. Data from GitHub, Stack Overflow and Google Trends were analysed to show the popularity. Adequate documentation is provided by the official React.js and PyQt5 websites for both libraries, in the form of manuals, materials and tutorials. This thesis is accompanied by two similar applications developed with React.js and PyQt5 to compare the performance and the overall workload required to develop an application. The number of lines of code and the time spent on each application are analysed. The performance comparison considers the application loading time and the usage of computer resources.
The results of this thesis show that React.js outperforms PyQt5 in terms of popularity, availability of documentation, and performance. Based on the software license of each library, React.js allows its developers more freedom compared to PyQt5. However, the workload required to develop an application with PyQt5 is drastically lesser than React.js. The number of lines of code and the number of files needed for a PyQt5 application are drastically lower than React.js. Developing multiple large-scale applications and conducting additional comparisons is necessary to reach a more definitive conclusion.
A theoretical analysis of React.js and PyQt5 is given to highlight the key features of each library. The popularity, licensing, and availability of documentation of each library are analysed. Data from GitHub, Stack Overflow and Google Trends were analysed to show the popularity. Adequate documentation is provided by the official React.js and PyQt5 websites for both libraries, in the form of manuals, materials and tutorials. This thesis is accompanied by two similar applications developed with React.js and PyQt5 to compare the performance and the overall workload required to develop an application. The number of lines of code and the time spent on each application are analysed. The performance comparison considers the application loading time and the usage of computer resources.
The results of this thesis show that React.js outperforms PyQt5 in terms of popularity, availability of documentation, and performance. Based on the software license of each library, React.js allows its developers more freedom compared to PyQt5. However, the workload required to develop an application with PyQt5 is drastically lesser than React.js. The number of lines of code and the number of files needed for a PyQt5 application are drastically lower than React.js. Developing multiple large-scale applications and conducting additional comparisons is necessary to reach a more definitive conclusion.