sillysky software labs

RemoteSkin for the Web

RemoteSkin for Web

RemoteSkin for the Web is a distributed Micro-UI framework. It lets application parts run as services on nyssr.net nodes while their interface is rendered in an HTML browser.

The pieces

A RemoteSkin application connects a browser to the node network through a small set of components:

  • an HTML frame page
  • a small native Java web server plugin
  • JavaScript in the browser
  • a WebSocket server plugin on the node
  • application and UI services distributed across the network

The browser script opens a WebSocket connection to the node. On the node side, that connection is represented by a target address. Any object that can address the target can send messages that change the browser DOM.

Key idea: The browser is the rendering surface; application and UI services can run on any suitable node and communicate with it through messages.

Start a distributed dialog

When a dialog is initiated by message, it receives the context it needs:

  • a session token
  • the RemoteSkin client connection address
  • the owner's target address
  • the parent DOM element that receives the new content
  • application-specific parameters

The dialog can then obtain its own data and render its UI independently. Generic messages start dialogs, so the application does not need a separate API for each dialog type.

Why this is useful

  • UI parts can be deployed independently
  • Services can stay close to the data they use
  • Multiple applications can share UI services
  • The HTML client remains small and focused on rendering
  • Message-based communication keeps UI and backend loosely coupled

RemoteSkin is therefore a practical layer on top of nyssr.net for distributed HTML Micro-UIs.

Related Pages