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

Michael Nordman michaeln at google.com
Thu May 28 14:22:08 PDT 2009


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

Good question. I think you're suggesting...
* statementsToCreateAndPopulateSQLDatabase  = httpGet();
* foreach(statement in above) { execute(statement); }
* now you get to run queries of interest

Certainly going to use more client-side CPU than downloading a fully
formed db file. I think the download size would greater (all of the
'INSERT into' text overhead), but thats just a guess. A database
containing FTS tables would change things a bit too (even less
client-side cpu, but more download size).



More information about the whatwg mailing list