Modular Responsive Web Design: An Experience Report
Responsive Web Design (RWD) enables web applications to adapt to the characteristics of different devices such as screen size which is important for mobile browsing. Today, the only W3C standard to support this adaptability is CSS media queries. However, using media queries it is impossible to create applications in a modular way, because responsive elements then always depend on the global context. Hence, responsive elements can only be reused if the global context is exactly the same. This makes it extremely challenging to develop large responsive applications, because the lack of true modularity makes certain requirement changes either impossible or expensive to realize.
In this paper we extend RWD to also include responsive modules, i.e., modules that adapt their design based on their local context, independently of the global context. We present the ELQ project which implements our approach. ELQ is a novel implementation of so-called element queries which generalize CSS media queries. Importantly, our design conforms to existing web specifications, enabling adoption on a large scale. ELQ is designed to be heavily extensible using plugins. Experimental results show speed-ups of the core algorithms of up to 37x compared to previous approaches.
Tue 4 AprDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
13:30 - 15:00 | |||
13:30 25mTalk | Immediate Mode with Immutable Data ProWeb | ||
13:55 25mTalk | Modular Responsive Web Design: An Experience Report ProWeb Pre-print | ||
14:20 25mTalk | Webstrates for the future web? ProWeb Kristian B. Antonsen , Michel Beaudouin-Lafon , James Eagan , Clemens Nylandsted Klokmose , Wendy Mackay , Roman Rädle Pre-print | ||
14:45 15mTalk | Group discussion on the future of collaboration and responsiveness ProWeb |