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

Widget Window's Modes: what about different "content" tags

From: <ivan.demarino@orange-ftgroup.com>
Date: Mon, 26 Jan 2009 13:58:48 +0100
Message-ID: <B877D90AB2240C4D84DF56169F1EAFED05E7A344@ftrdmel3>
To: <public-webapps@w3.org>
Cc: <marcosscaceres@gmail.com>
Hello.

I'll briefly introduce myself.
I'm Ivan De Marino; Software Engineer for France Telecom R&D.
My current focus is on Widget Runtime developments.

I would like to raise a point about "Window's Modes".
Currently this specs are going in the direction of using the "@media" parameter to define refer to different CSSes and, based on that, make the Widget "able to adapt" to different sizes and contexts.
I can see that this is very close to the current way of making websites' layout flexible through multiple CSS (screen, print, mobile and so on...).

This has 2 costs from my point of view; costs that are "important" on the mobile:
1) Page size and Load time: even if our device are become more and more powerful, using a smaller web page with very focused code is better. Having code that adapts based on the CSS makes the HTML document itself way bigger.
2) Javascript resizing: In the specs and some emails there are descriptions of "Javascript events" that should help the widget to "understand the current environment and adapt". Apart from the need of implementing new APIs and Events in Javascript, that leaves everything up to the Browse Developers, here is a matter of performance. Javascript is undoubtly an "heavy" language, and misusage of it, from the side of the final Widget's Developer, could lead to a general CPU-bound Widget.

What about a solution based on "multiple content tags" into the config.xml file?
Adding something like:
- "mode" attribute
- "default" attribute (to choose which one should be opened in case it's uncertain/undefined
- "size parameters" (those needs to be defined better)

I could go more in details with my idea and concerns, but I prefer to hear from you before I go ahead.

Regards

 <<Picture (Metafile)>> 
Ivan De Marino
Orange Labs
Mobile and Web Software Engineer, R&D UK
tel. +44 20 8849 5806
mob. +44 7515 955 861
mob. +44 7974 156 216
ivan.demarino@orange-ftgroup.com <mailto:firstname.lastname@orange-ftgroup.com> 
 <<Picture (Metafile)>> 

This e-mail, and any files transmitted with it, is intended only for the use of the person/s or entity to whom it is addressed. If you are not the intended recipient (or authorised to receive information for the intended recipient) you must not use, disclose, copy, print or rely on this e-mail. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and delete all copies of this e-mail.  Thank you.

France Telecom R&D UK Ltd is a company registered in England and Wales with company number 4193379. Our registered office is Minerva House, Montague Close, London, SE1 9BB.





Picture (Metafile)
(image/bmp attachment: ole0.bmp)

Picture (Metafile)
(image/bmp attachment: ole1.bmp)

Received on Monday, 26 January 2009 13:12:22 GMT

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