The Impact of Context-Oriented Programming on Declarative UI Design in React
Koshi You, Hiroaki Fukuda, Paul Leger
2025
Abstract
Context-Oriented Programming (COP) is a programming paradigm that modularizes context-dependent behavior. COP provides a language mechanism that enables behavior to switch depending on the current context, such as mobile device orientation or user behavior. COP is particularly promising in domains that frequently involve context-dependent behavior, such as mobile applications and IoT systems. Although various COP abstractions and mechanisms are being proposed, applications implemented with COP are mostly small-scale and designed to validate each proposed approach. These cases are often ideal scenarios for the proposed approach, raising concerns about the sufficiency of the effectiveness assessment. To address this, this paper mimics the functionality of a real-world application and implements it using an application framework. By applying COP to the refactoring, we measure the software metrics of the implementation. As a result, we quantitatively identify the impact of the framework abstraction on the code when COP is used.
DownloadPaper Citation
in Harvard Style
You K., Fukuda H. and Leger P. (2025). The Impact of Context-Oriented Programming on Declarative UI Design in React. In Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE; ISBN 978-989-758-742-9, SciTePress, pages 700-707. DOI: 10.5220/0013432300003928
in Bibtex Style
@conference{enase25,
author={Koshi You and Hiroaki Fukuda and Paul Leger},
title={The Impact of Context-Oriented Programming on Declarative UI Design in React},
booktitle={Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE},
year={2025},
pages={700-707},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013432300003928},
isbn={978-989-758-742-9},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE
TI - The Impact of Context-Oriented Programming on Declarative UI Design in React
SN - 978-989-758-742-9
AU - You K.
AU - Fukuda H.
AU - Leger P.
PY - 2025
SP - 700
EP - 707
DO - 10.5220/0013432300003928
PB - SciTePress