W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9939] If we have a concept of "WebDevice", manufacturer could start to create amazing web devices (Example: www.poken.com). These devices once connected could interact with the website using a REST PROTOCOL. Event based (The device send information when we do a

From: <bugzilla@jessica.w3.org>
Date: Thu, 17 Jun 2010 06:52:01 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OP8xF-0001rN-12@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9939





--- Comment #2 from Gabriel Klein <gabriel.public.3@nuage.ch>  2010-06-17 06:52:00 ---
Some features (optionnal)

>> You insert the web-device.
The browser open a specific website.

>> Events based
In javascript I write a code similar to
callback = {some code}
device = findDevice(...);
device.startListening(callback);

Every time I have an event on the device. (Example: I press the button of the
device). I receive the information of the event.

>> Call based
device.call("signUrl");
This call will call a "function" on the device with a parameter "signUrl" and
return a rest formated result.

Note:
The referer is sent to all calls that are made on the device.
So we can "verify" that an application (we hope the browser) sent the referer.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 17 June 2010 06:52:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 June 2010 06:52:05 GMT