[widgets] Relationship of Widget viewmodes and OpenSocial view types

The OpenSocial spec also defines a set of views for gadgets[1] and I  
was wondering how these relate to Widget modes as defined in [2].

Here's a quick stab at relating the two specs:

gadgets.views.ViewType.CANVAS = application (or fullscreen?)
gadgets.views.ViewType.HOME = floating
gadgets.views.ViewType.PREVIEW = (no equivalent; this seems to be like  
the old thumbnail/screenshot feature)
gadgets.views.ViewType.PROFILE = floating
(no equivalent) = mini/docked (come on, which is it guys?)

On first glance its not a very elegant mapping! Partly this is because  
opensocial conflates the display and user role aspects (e.g. the  
distinction between "Home" and "Profile" is whether the "viewer is  
typically the owner"). Can/should the specs be easier to relate?

Cheers,

S

[1] http://wiki.opensocial.org/index.php?title=Gadgets.views_(v0.9)#gadgets.views.ViewType
[2] http://dev.w3.org/2006/waf/widgets-wm/Overview.src.html


/-/-/-/-/-/
Scott Wilson
Assistant Director, JISC CETIS
University of Bolton

Projects:
Apache Wookie: http://incubator.apache.org/projects/wookie.html
FeedForward: http://getfeedforward.org

scott.bradley.wilson@gmail.com
http://www.cetis.ac.uk/members/scott

Received on Monday, 27 July 2009 13:42:41 UTC