netvibes developer meetup - paris - may 2008

36
Proprietary and confidential. No part of this report may be forwarded without the express permission of the author. Developer Meetup Paris - 30 Mai 2008

Upload: francois-hodierne

Post on 05-Dec-2014

5.668 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Netvibes Developer Meetup - Paris - May 2008

Proprietary and confidential. No part of this report may be forwarded without the express permission of the author.

Developer Meetup

Paris - 30 Mai 2008

Page 2: Netvibes Developer Meetup - Paris - May 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!)

Page 3: Netvibes Developer Meetup - Paris - May 2008

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)

Page 4: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Why UWA?

Page 5: Netvibes Developer Meetup - Paris - May 2008

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 !

Page 6: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Page 7: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA Format Content Model of a UWA widget

• Metadata

• Preferences

• Scripting

• Style

• Content

Page 8: Netvibes Developer Meetup - Paris - May 2008

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>

Page 9: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Page 10: Netvibes Developer Meetup - Paris - May 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>

Page 11: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA FormatContent Model of a UWA widget

• Metadatas

Page 12: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA FormatContent Model of a UWA widget

• Preferences

Page 13: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA FormatContent Model of a UWA widget

• Scripting

Page 14: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA FormatContent Model of a UWA widget

• Style

Page 15: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA FormatContent Model of a UWA widget

• Content

Page 16: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Page 17: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA Javascript API

• Widget object

• Environment object

• Data request

• DOM Extensions

Page 18: Netvibes Developer Meetup - Paris - May 2008

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() {}

Page 19: Netvibes Developer Meetup - Paris - May 2008

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

Page 20: Netvibes Developer Meetup - Paris - May 2008

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.

Page 21: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA Javascript APIDOM extensions

• Array• String• HTML elements

Page 22: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Competition

Page 23: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Standardisation

Page 24: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

break;

Page 25: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

REST APIs

Page 26: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

REST APIsrest.netvibes.com

• Widget Collections• Activities

Page 27: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

REST APIshttp://rest.netvibes.com/universe/{username}

Page 28: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

REST APIshttp://rest.netvibes.com/universe/{username}?format=json

Page 29: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Rest API roadmap

• Public Data (now)

• Private Data (oauth) (summer)

• Read / Write (september)

Page 30: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Netvibes.org

netvibes open source components

Page 31: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

UWA runtime

• javascript libraries to run UWA widgets

• let you port UWA where you want

Page 32: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

PHP Exposition libraries

• PHP classes to

• interact with Netvibes backend

• parse & compile UWA widgets

Page 33: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Exposition PHP Server

• a widget server based onExposition PHP Libraries

• render widget through iframes

• data proxy

Page 34: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Applications

• mobile market applications

Page 35: Netvibes Developer Meetup - Paris - May 2008

Developer Meetup - Paris - 30 Mai 2008

Page 36: Netvibes Developer Meetup - Paris - May 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]