Light-Weight Distributed Web Interfaces: Preparing the Web for Heterogeneous Environments

Chris Vandervelpen, Geert Vanderhulst, Kris Luyten, Karin ConinxIcwe 2005

Abstract

This paper introduces a framework for decomposing a monolithic web application's user interface into discrete components and distributing them across multiple heterogeneous devices simultaneously. Utilizing a lightweight "Interface Distribution Daemon" (IDD) and XML-based schemas, the system enables a unified "distributed interaction space" that dynamically adapts to available hardware, such as laptops, PDAs, and smartphones.

Introduction

In the mid-2000s, the emergence of diverse mobile devices like PDAs and early smartphones highlighted a significant limitation in web architecture: applications were typically designed for a single, monolithic screen. The authors addressed the challenge of creating a "distributed interaction space" where users could leverage multiple devices in concert—for instance, using a PDA as a remote control for a complex visualization on a laptop. Key hurdles included managing device heterogeneity, handling dynamic network environments where devices frequently join or leave, and maintaining real-time state synchronization across all interfaces.

System Architecture and Methodology

The proposed architecture centers on the Interface Distribution Daemon (IDD), a lightweight HTTP-based manager that orchestrates UI distribution.

Schema-Driven UI Generation

Rather than hard-coding interfaces, the system employs RelaxNG (an XML schema language) to describe application services. These schemas define both the UI structure and logical constraints (e.g., "Service A and B must remain co-located"). This approach allows the IDD to treat UI components as data fragments that can be validated and transformed on the fly, ensuring compatibility with the specific constraints of target devices.

Distribution Modes

The framework supports three primary distribution strategies:

  1. User-Driven: Users manually assign specific UI components to their preferred devices.
  2. System-Driven: The IDD employs a cost function, $C(v_1, ..., v_n)$, to automatically allocate components based on device profiles, primarily focusing on available screen real estate.
  3. Continuous Adaptation: The system monitors the environment in real-time. If a device disconnects, the IDD automatically migrates its active UI components to the remaining devices.
Sequence diagrams for user-driven and system-driven distribution modes.

Real-Time Synchronization

To overcome the stateless nature of standard web browsers in 2005, the authors implemented a custom LISTEN HTTP method. This precursor to modern real-time communication acted as a long-polling mechanism, allowing the IDD to "push" state updates to all clients instantly when an action occurred on any single device.

Implementation and Results

The authors developed a proof-of-concept using standard web technologies: XHTML, JavaScript, and XMLHttpRequest (AJAX). Universal Plug and Play (UPnP) was utilized for seamless device discovery.

Case Study: Distributed Control

The system's feasibility was demonstrated through a real-world case study involving a laptop and two PDAs. In this scenario, the primary "Browser + View" service remained on the laptop, while "Zoom" and "Scroll" control services were distributed to separate PDAs. This setup allowed for a multi-device interaction model where the PDAs acted as specialized controllers for the main display.

Proof-of-concept demonstrating a web interface distributed across a laptop and two PDAs.

The results confirmed that distributed user interfaces could be achieved using lightweight, standard technologies without requiring proprietary plugins or heavy middleware.

Discussion and Future Work

While successful as a proof-of-concept, the authors identified several areas for improvement. The current automatic distribution logic relies heavily on screen size; future iterations should incorporate more complex variables such as processing power, memory, and network bandwidth into the cost function. Furthermore, integrating deeper context awareness—such as user location or task priority—could further optimize component placement. Finally, the security implications and network overhead of the IDD proxy remain subjects for future investigation.

Summary updated

BibTeX
@inproceedings{vandervelpen2005light,
  author = {Chris Vandervelpen and Geert Vanderhulst and Kris Luyten and Karin Coninx},
  title = {{Light-Weight Distributed Web Interfaces: Preparing the Web for Heterogeneous Environments}},
  booktitle = {Icwe},
  year = {2005},
  doi = {10.1007/11531371\_28},
}
Figure