ReactCOP Supporting Layer Parameter Management for Front-end Web Applications
In modern software, including web applications, context-dependent behavior is one of the most important features. Context-oriented programming (COP) is a suitable programming technique for developing such software. However, we often need to work on handling parameter values in layers. This problem means inconvenience in setting parameters by each layer. We call it “layer parameter problem.” Especially front-end web applications use a component-based approach with a DOM tree, making the layer parameter problem more complicated because they cannot handle COPs in class-in-layer and layer-in-class models. We propose ReactCOP, an implementation of an idea that applies COP to React, one of the front-end web application libraries. ReactCOP solves the parameter problem on a layer-in-component model. As the solution to this problem, we present Layer Parameter Management that dynamically switches values in a variable within a layer. In this paper, we propose ReactCOP with Layer Parameter Management. Finally, we investigate our proposed approach through two case studies.
Tue 14 MarDisplayed time zone: Osaka, Sapporo, Tokyo change
09:00 - 10:30 | |||
09:00 30mTalk | Clerk: Moldable Live Programming for Clojure PX/23 | ||
09:30 30mTalk | ReactCOP Supporting Layer Parameter Management for Front-end Web Applications PX/23 Hiroki Hashimoto Tokai University, Ikuta Tanigawa Kyusyu University, Nobuhiko Ogura Tokyo City University, Harumi Watanabe Tokai University | ||
10:00 30mTalk | Probe Log: Visualizing the Control Flow of Babylonian Programming PX/23 Eva Krebs Hasso Plattner Institute (HPI), University of Potsdam, Germany, Patrick Rein University of Potsdam; Hasso Plattner Institute, Robert Hirschfeld University of Potsdam; Hasso Plattner Institute, Joana Bergsiek Hasso Plattner Institute, Lina Urban Hasso Plattner Institute |