A W3C Widget implementation: The Palette Portal

60 %
40 %
Information about A W3C Widget implementation: The Palette Portal

Published on March 2, 2009

Author: avagner

Source: slideshare.net


In the frame of the EU FP6 Palette project, we developed an innovative portal on the basis of the W3C Widget specification.

A W3C Widget implementation: The Palette Portal Jérôme Bogaerts, Alain Vagner {firstname.lastname}@tudor.lu W3C WAFWG meeting, 02-26-2009 1

Context ®The Palette Project (EU FP6) ® Target: Communities of Practice in the learning sector ® Lots of heterogeneous tools and services => need of integration ® Proposed integration services Unified search q Unified authentication q Unified storage q ... q Web Portal q 02/25/09

Palette Services Portal ® In Palette: ® Wide range of services available Web Applications, Desktop Applications, Web Services q ® Different Communities of Practice with specific needs Selection and adaptation needed in the proposed services q ® The Palette Services Portal provides: ® Central access point to the services ® Customizable view ® Global view of the group activity ® Interaction between these services 02/25/09

Requirements ® Lightweight Easy and fast development of new web widgets ® ® Well-known technologies No need to learn a new environment ® ® Integration in the web architecture Rest web services, ROA ® ® Interoperable and open solution Not be tied to a specific vendor / proprietary platform ® 02/25/09

Widget specs study ® Evaluated specs ® Google gadgets, Netvibes Universal Widgets, Yahoo! Widgets, Microsoft Gadgets, Apple Dashboard Widgets, and Opera Widgets ® Common denominator Widget configuration section ® Meta-data, settings q Main Widget file ® Logic, layout and structure q ® Similar to MVC View: widget layout and structure ® ® Controller: programming logic of the widget ® Model: widget settings and user preferences 5

Choice of the widget spec ® All widgets formats very similar ® Only one open standard matching the requirements ® Some extensions needed ®provided by none of these specs => choice of the W3C Widget format spec as a basis 6

Implementation 1/2 ® Moving target ® Freeze of the version used for implementing ® Last version of the portal aligned with the last spec ® Partial implementation ® Implementation in priority q Base of the spec ® Not implemented (packaging & API) q Window Modes q Updates q Features q Widget signature q I18n 02/25/09

Implementation 2/2 ® Main problem ® Same origin policy on XHR ® W3C Widget spec oriented towards desktop widgets -> out of scope ® Currently: XHR proxying => W3C Cross Origin Resource Sharing spec ? 02/25/09

Current implementation ® A prototype Tested in the project on 2 groups of users, real data ® Security, performance not really tested ® ® Open source Freely available on Google Code ® Free software: GPL v2 ® Community: external contributions welcome ® Presentation & demos: ® http://palette.tudor.lu/content/index.php?page=palette-services-portal q Sources: ® http://code.google.com/p/mywiwall/source/checkout q Mailing List « Talk about widgets » ® http://groups.google.com/talk-about-widgets q 02/25/09

Some extensions 1/2 ® Innovation ® Extensions as a mean to explore new use cases ® Clean separation of extensions ® Extensions spec in a specific document ® Manifest extensions in a separate namespace ® Compatibility ® widget compliant with the W3C spec without our extensions should work ® No unnecessary extension ® what can be done with the strict spec should not be extended by laziness 02/25/09

Some extensions 2/2 ® Main extensions categories ® Preferences handling ® Remote connexions ® Widget authentication ® Inter-widget messaging ® Drag & drop between widgets 02/25/09

Extensions: Preferences ® Prefs declaration in the manifest file Used by the portal to serve a configuration form ® ® Optional prefs typing Basic types ® Enum ® 02/25/09

Extensions: Remote connexions ® Necessity to bypass same origin policy on XHR Simple proxy, Rest compatible ® ® Extension of the widget object Widget.httpGet .httpPost, .httpPut, .httpDelete, .httpGetJson ® Widget.setHttpCredentials ® Widget.setContentProxy ® ® Rewrite needed Homogenization with Tencompetences APIs ® Implementation of W3C Cross Origin Resource Sharing spec ? ® 02/25/09

Extensions: widget authentication ® Use case: log in to the portal and be logged in all widgets ® Trust between widgets and external web services ® Authentication on the Portal propagated to web services ® Encryption: 256bit AES ® Need to be coupled to a distributed identity system (OpenId) 02/25/09

Extensions: inter-widget messaging ® Several communications modes possible between widgets in a same container Unicast ® Multicast ® Broadcast ® ® Event type as URI ® No server-side event propagation 02/25/09

Extensions: Drag & drop ® Exploits the inter-widget messaging system Widget.bindWidgetToDropType() ® Widget.addDragData() ® 02/25/09

Demonstration 17

Ongoing and future works ® Ongoing work Security ® Google-caja ? q Compatibility with other widget formats ® Google gadgets, Netvibes UWA q ® Future work I18n ® Multi-container messaging system ® Comet q Manifest for groups of widgets ® RDA-based desktop widget platform ® Mozilla Prism, Adobe Air ? q 02/25/09

Conclusion ® Possible to use the W3C widget spec for Web Widgets ® Inter-widget messaging, DnD Different from the Tencompetences solution ® Convergence possible ® Interesting functionalities ® Probably need to be standardized ® ® Palette extensions spec: http://palette.tudor.lu/files/portal/specifications/palette-widget-format-specification-january-2009.pdf ® ® Palette Services Portal Website http://palette.tudor.lu/content/index.php?page=palette-services-portal ® 02/25/09

Thanks for your attention! http://palette.tudor.lu Jérôme Bogaerts, Alain Vagner {firstname.lastname}@tudor.lu 20

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

A W3C Widget implementation: The Palette Portal - pdfsr.com

A W3C Widget implementation:The Palette PortalJ ©rôme Bogaerts, Alain Vagner [email protected] WAFWG meeting, 02-26-20091Context®The Palette Project (EU ...
Read more

PPT – A W3C Widget implementation: The Palette Portal ...

The presentation will start after a short (15 second) video ad from one of our sponsors. Hot tip: Video ads won’t appear to registered users who are ...
Read more

OpenLaszlo & W3C Widgets · raju-bitter/mobile ...

raju-bitter / mobile-openlaszlo. Code. ... W3C Widget Test Suites & Implementation Reports. ... The Palette Portal; Inter-Widget Communication.
Read more

A Messaging API for Inter-Widgets Communication

Widget, Portal, Start page, Drag and ... license and is based on the W3C widget 1.0 specification [1]. ... PALETTE is an Integrated Project supported by ...
Read more

Increasing Widgets Interoperability at the Portal Level

... be implemented once into a portal and its widget ... portal implementation uses the “dragref ... widget APIs such as into the W3C Widgets 1 ...
Read more

PowerPoint Presentation - Cetis LLP

... Sharepoint Integrate widget engine directly into container Elgg OpenSocial implementation Palette W3C implementation ... portal etc.) W3C Widget ...
Read more

Personal Learning Environment - Universidad de La Habana

already implementing the W3C widget 1.0 specifications is introduced. Based on this implementation a PLE is ... The Palette Service portal represents
Read more

Wookie: a case study in sustainability - OSS Watch

... based on several W3C widget ... Since this case study was ... an OAuth implementation. At this point, Wookie had reached a point where the ...
Read more

Personal Learning Environment – a Conceptual Study

Personal Learning Environment – a Conceptual Study ... been already implementing the W3C widget 1.0 ... is compatible with W3C specification. IST Palette ...
Read more