W3C home > Mailing lists > Public > public-device-apis@w3.org > February 2010

Re: Devices as Virtual Web Services

From: Robin Berjon <robin@berjon.com>
Date: Wed, 10 Feb 2010 13:48:44 +0100
Cc: Frederick Hirsch <Frederick.Hirsch@nokia.com>, public-device-apis@w3.org
Message-Id: <70BF540F-14D9-4B8A-B352-28DD099486BF@berjon.com>
To: Thomas Roessler <tlr@w3.org>
On Feb 10, 2010, at 13:25 , Thomas Roessler wrote:
> It's also not clear that one couldn't fake a web server within the browser (exposing the RESTFUL API to the JavaScript environment) without ever implementing an HTTP server in the process.

Actually that can indeed be done by wrapping the XHR object (or more cleanly, by specialising it). My concern here is that you then sort of have to support all manners of HTTP semantics if you want to do it "right" (for rather pedantic values of right), but on the other hand you reach 80/20 very quickly.

--
Robin Berjon
 robineko  hired gun, higher standards
 http://robineko.com/
Received on Wednesday, 10 February 2010 12:49:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:17 UTC