Re: Devices as Virtual Web Services

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

Received on Wednesday, 10 February 2010 12:49:12 UTC