W3C home > Mailing lists > Public > public-appformats@w3.org > June 2007

Re: Widgets on low memory devices

From: Marcos Caceres <m.caceres@qut.edu.au>
Date: Mon, 25 Jun 2007 12:55:05 +1000
Message-ID: <b21a10670706241955y1121383dg1d7837ecb690dccb@mail.gmail.com>
To: "Alex Linde" <alex@joemoby.com>
Cc: public-appformats@w3.org
On 6/22/07, Alex Linde <alex@joemoby.com> wrote:
> Hi,
> I've been reviewing the widget requirements with regard to implementation
> on low memory devices. Within our proposed implementation we would like to
> have widgets with one or more views - essentially a minimized view for the
> "widget dashboard" with an option for a widget to maximize to full screen.

This is possible within the framework you have proposed, however for a
> single "index.html" it still requires that all views are loaded by the
> browser or widget engine.
My question is whether the ideal implementation of multiple views should be:
> - Separate html files within the widget - essentially requiring that each
> view can save state to pass to the other.
> - Individual div sections in the index.html with style.display = "none"
> for views that should be removed from memory.
> - ..something else?

Admitedly. I quite like Yahoo!s solution to this problem: They use a Dock
object that takes a serialized XML document as a argument. This is very
convinient because it allows one to overcome many the problems at once.

  - on activate widget, deactivate docked reprentation. If memory if low,
and if this can be tested, then you can attempt to strip down what is going
to be shown in the dock.

Separate html files within the widget
  -Either generate the DOM from scratch,
or load it dynamically from within the widget package

Would it be possible for the group to suggest a recommended method of
> supporting multiple views and include this in their documentation? This
> would help both widget runtime developers and widget authors.

Marcos Caceres
Received on Monday, 25 June 2007 03:53:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:50:07 UTC