Upload
francois-hodierne
View
5.668
Download
2
Embed Size (px)
DESCRIPTION
Citation preview
Proprietary and confidential. No part of this report may be forwarded without the express permission of the author.
Developer Meetup
Paris - 30 Mai 2008
Proprietary and confidential. No part of this report may be forwarded without the express permission of the author.
Widgets!
• Web Widgets (Netvibes, IGoogle)
• Desktop Widgets (Vista, Dashboard, Yahoo!)
Developer Meetup - Paris - 30 Mai 2008
UWA
• a simple, elegant, flexible web widget format
• announced at Future of Web Apps in February 2007
• based on web standards(html, javascript, css, xml)
Developer Meetup - Paris - 30 Mai 2008
Why UWA?
Developer Meetup - Paris - 30 Mai 2008
Works in various contexts
• works on ANY device, platform, software that support web standards
• just need to adapt with a few lines
• really !
Developer Meetup - Paris - 30 Mai 2008
Developer Meetup - Paris - 30 Mai 2008
UWA Format Content Model of a UWA widget
• Metadata
• Preferences
• Scripting
• Style
• Content
Developer Meetup - Paris - 30 Mai 2008
UWA FormatWhat would Google do?
General Format Custom XML
Metas Datas <ModulePrefs>Preferences <UserPrefs>
Style Blob in <Content>
Scripting Blob in <Content>Content Blob in <Content>
Developer Meetup - Paris - 30 Mai 2008
Developer Meetup - Paris - 30 Mai 2008
UWA FormatBut wait,
why reinvent the wheel ?General Format XHTML
Metas Datas <title> <meta>
Preferences <widget:preferences>
Style <style>
Scripting <script>
Content <body>
Developer Meetup - Paris - 30 Mai 2008
UWA FormatContent Model of a UWA widget
• Metadatas
Developer Meetup - Paris - 30 Mai 2008
UWA FormatContent Model of a UWA widget
• Preferences
Developer Meetup - Paris - 30 Mai 2008
UWA FormatContent Model of a UWA widget
• Scripting
Developer Meetup - Paris - 30 Mai 2008
UWA FormatContent Model of a UWA widget
• Style
Developer Meetup - Paris - 30 Mai 2008
UWA FormatContent Model of a UWA widget
• Content
Developer Meetup - Paris - 30 Mai 2008
Developer Meetup - Paris - 30 Mai 2008
UWA Javascript API
• Widget object
• Environment object
• Data request
• DOM Extensions
Developer Meetup - Paris - 30 Mai 2008
UWA Javascript APIWidget object
• a bit like DOMdocument or window objects
• widget.body
• widget.setValue() getValue()
• widget.onLoad = function() {}
Developer Meetup - Paris - 30 Mai 2008
UWA Javascript APIEnvironment object
• for implementors
• interface between the widget object and the execution environment
• to port UWA to a new platform, just extend our base Environment class
Developer Meetup - Paris - 30 Mai 2008
UWA Javascript APIData request methods
Set of methods that cover simple Ajax scenarios :
• UWA.Data.getFeed(url, callback)
• UWA.Data.getJson(url, callback)
• UWA.Data.getText(url, callback)
• UWA.Data.getXML(url, callback)
Take care of proxying, caching and error handling.
Developer Meetup - Paris - 30 Mai 2008
UWA Javascript APIDOM extensions
• Array• String• HTML elements
Developer Meetup - Paris - 30 Mai 2008
Competition
Developer Meetup - Paris - 30 Mai 2008
Standardisation
Developer Meetup - Paris - 30 Mai 2008
break;
Developer Meetup - Paris - 30 Mai 2008
REST APIs
Developer Meetup - Paris - 30 Mai 2008
REST APIsrest.netvibes.com
• Widget Collections• Activities
Developer Meetup - Paris - 30 Mai 2008
REST APIshttp://rest.netvibes.com/universe/{username}
Developer Meetup - Paris - 30 Mai 2008
REST APIshttp://rest.netvibes.com/universe/{username}?format=json
Developer Meetup - Paris - 30 Mai 2008
Rest API roadmap
• Public Data (now)
• Private Data (oauth) (summer)
• Read / Write (september)
Developer Meetup - Paris - 30 Mai 2008
Netvibes.org
netvibes open source components
Developer Meetup - Paris - 30 Mai 2008
UWA runtime
• javascript libraries to run UWA widgets
• let you port UWA where you want
Developer Meetup - Paris - 30 Mai 2008
PHP Exposition libraries
• PHP classes to
• interact with Netvibes backend
• parse & compile UWA widgets
Developer Meetup - Paris - 30 Mai 2008
Exposition PHP Server
• a widget server based onExposition PHP Libraries
• render widget through iframes
• data proxy
Developer Meetup - Paris - 30 Mai 2008
Applications
• mobile market applications
Developer Meetup - Paris - 30 Mai 2008
Proprietary and confidential. No part of this report may be forwarded without the express permission of the author.
UNITED KINGDOM
London52, New Inn Hall Street
Oxford - OX12DN
FRANCE
Paris38, rue du Sentier
Paris - 75002
USA
San Francisco840 Battery Street
94111 San Francisco
CHINA
Dahlian沙河口区中山路552号 32层7房间大连市
Contact : [email protected]