W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2009

[whatwg] Cross-domain databases; was: "File package protocol and manifest support?"

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 28 May 2009 22:59:47 +0200
Message-ID: <op.uunq9xmj64w2qv@anne-van-kesterens-macbook.local>
On Thu, 28 May 2009 22:56:32 +0200, Michael Nordman <michaeln at google.com>  
wrote:
> I buy this thinking too as a better strategy for integrating web apps.
>
> But still, the ability to download a fully formed SQL database, and
> then run SQL against it would be nice.
>
> openDatabaseFromURL(urlToDatabaseFile);
>
> * downloads the database file if needed (per http cache control headers)
> * the database can reside in an appcache (in which case it would be
> subject to appcache'ing rules instead)
> * returns a read-only database object
>
> Of course, there is the issue of the SQL database format.

Would there be a lot of overhead in just doing this through  
XMLHttpRequest, some processing, and the database API?


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 28 May 2009 13:59:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:49 UTC