W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

Re: [widgets] Widget modes

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Fri, 13 Feb 2009 00:06:51 +1000
Message-ID: <b21a10670902120606i3ea88ff8w3755d080d67b8985@mail.gmail.com>
To: "ivan.demarino" <ivan.demarino@orange-ftgroup.com>
Cc: "Mark.Priestley" <Mark.Priestley@vodafone.com>, yoanb <yoanb@opera.com>, "benoit.suzanne" <benoit.suzanne@orange-ftgroup.com>, public-webapps <public-webapps@w3.org>
2009/1/31 ivan.demarino <ivan.demarino@orange-ftgroup.com>:
>
> Hello.
>
> Here in Orange Labs UK we think that the idea of having multiple modes
with multiple HTML five can address another risk: the need of adapting the
presentation layer programmatically, can drive to excessive "cpu-bound"
calculation (it's Javascript after all).
> Having multiple HTML document could simplify the widget layout itself,
having something dedicated to the particular mode.
>
> The preservation of status across different "mode change event" could be
solved in other ways, like using APIs for Local Storage (HTML5) or with
dedicated APIs.
>
> Also I would like to highlight the importance of "allowing" companion
attributes for the "mode" like "width" and "height", as expressed in the
last part of Suzanne Benoit email.
>

I also have a feeling that it might be better to move the width, height, and
viewmode to the content element... but can live with them as they are. The
width and height and viewmode all pertain to the the <content> element so it
makes sense, IMHO, for them to be attributes of <content>.

Having said that, I don't think we should go down the path of having
different <content> elements for each mode (not in version 1.0, at least). I
also think that is better handled by programmatically and through CSS. If we
were to go down the multiple content path, I guess the only thing that would
be shared would be the preference store for the widget.

Anyway, as Mark said, we better nail down the requirements before jumping to
the technical solutions.

Kind regards,
Marcos

-- 
Marcos Caceres
http://datadriven.com.au
Received on Thursday, 12 February 2009 14:07:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:30 GMT