W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [quota-api] API change suggestions

From: Alexandre Morgaut <Alexandre.Morgaut@4d.com>
Date: Thu, 4 Oct 2012 14:02:48 +0200
To: "public-webapps@w3.org" <public-webapps@w3.org>
Message-ID: <03DBD3AF-7F74-4D40-A951-662EB10B30FE@4d.com>
I think the StorageQuotaInfo interface makes sense.

Another change I would suggest is to make this API also usable synchronously

1) It would be more consistent with other APIs providing both interfaces like XHR, FileReader, FileSystem, IndexedDB, Web SQL,

2) As some of the mentioned APIs explain, synchronous JS code is non-blocking in Web Workers, and it clearly simplify the code and the debugging

3) As we will probably implement it on server-side in Wakanda, we would provide both a synchronous and asynchronous API (Wakanda allows both modes)

Alexandre Morgaut
Wakanda Community Manager

60, rue d'Alsace
92110 Clichy

Standard : +33 1 40 87 92 00
Email :    Alexandre.Morgaut@4d.com
Web :      www.4D.com
Received on Thursday, 4 October 2012 12:08:48 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:49 UTC