Prof. Dr. Cesare Pautasso

Multi-Device Complementary View Adaptation with Liquid Media Queries

Andrea Gallidabino, Cesare Pautasso

Journal of Web Engineering (JWE), vol. 18, pp. 761-800

2020

Abstract

Responsive Web applications assume that they run on a single device at a time. Developers use CSS3 media queries to declare how the Web application user interface adapts to specific capabilities (e.g., screen size or resolution) of individual devices. As users own and use multiple devices across which they attempt to run the same Web application at the same time, we propose to extend CSS media queries so that developers can also use them to dynamically adapt so-called liquid Web applications as they are seamlessly deployed across multiple devices. In this paper we present the concept of liquid media queries. They support features to detect the number of connected devices, the number of users running the application, or the role played by each device during the application execution. The liquid media query types and features defined in this paper are designed for component-based Web applications, and they enable developers to control the deployment and dynamic migration and cloning of individual Web components across multiple browsers. Furthermore we present the design of how liquid media queries are implemented within the Liquid.js for Polymer framework and the corresponding distributed adaptation algorithms. We discuss the implications of multi-device adaptation from the perspective of the developers and also the users of a liquid Web application. Finally we showcase the expressiveness of the liquid media queries to support real-world examples and evaluate the algorithmic complexity of our approach.

Download

URL: https://journals.riverpublishers.com/index.php/JWE/article/view/1099

DOI: 10.13052/jwe1540-9589.1882

PDF: ▼liquidjs-jwe2019.pdf (734KB)

Citation

Bibtex

@article{liquidjs:2020:jwe,
	author = {Andrea Gallidabino and Cesare Pautasso},
	title = {Multi-Device Complementary View Adaptation with Liquid Media Queries},
	journal = {Journal of Web Engineering (JWE)},
	volume = {18},
	year = {2020},
	pages = { 761-800 },
	abstract = {Responsive Web applications assume that they run on a single device at a time. Developers use CSS3 media queries to declare how the Web application user interface adapts to specific capabilities (e.g., screen size or resolution) of individual devices. As users own and use multiple devices across which they attempt to run the same Web application at the same time, we propose to extend CSS media queries so that developers can also use them to dynamically adapt so-called liquid Web applications as they are seamlessly deployed across multiple devices. In this paper we present the concept of liquid media queries. They support features to detect the number of connected devices, the number of users running the application, or the role played by each device during the application execution. The liquid media query types and features defined in this paper are designed for component-based Web applications, and they enable developers to control the deployment and dynamic migration and cloning of individual Web components across multiple browsers. Furthermore we present the design of how liquid media queries are implemented within the Liquid.js for Polymer framework and the corresponding distributed adaptation algorithms. We discuss the implications of multi-device adaptation from the perspective of the developers and also the users of a liquid Web application. Finally we showcase the expressiveness of the liquid media queries to support real-world examples and evaluate the algorithmic complexity of our approach.
},
	keywords = {complementary view adaptation, liquid software, media queries, multi-device adaptation, responsive user interface},
	doi = {10.13052/jwe1540-9589.1882},
	url = {https://journals.riverpublishers.com/index.php/JWE/article/view/1099}
}