W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: Moving File API: Directories and System API to Note track?

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 24 Sep 2012 01:12:38 -0700
Cc: Jonas Sicking <jonas@sicking.cc>, Eric U <ericu@google.com>, olli@pettay.fi, public-webapps@w3.org
Message-id: <871825B5-1724-40D6-9DF6-1448E9E741E2@apple.com>
To: Brendan Eich <brendan@mozilla.com>

On Sep 22, 2012, at 9:35 PM, Maciej Stachowiak <mjs@apple.com> wrote:

> On Sep 22, 2012, at 8:18 PM, Brendan Eich <brendan@mozilla.com> wrote:
>>> And two of the interfaces are generic and reusable in other contexts.
>> Nice, and DOMRequest predates yours -- should it be done separately since (I believe) it is being used by other proposals unrelated to FileSystem-like ones?
>> Sorry if I missed it and it's already being split out.
> Yes, I borrowed DOMRequest. I think DOMRequest and DOMMultiRequest could be a separate spec, if that sort of asynchronous response pattern is generally useful. And it seems like it might be. That would leave only two interfaces specific to the Minimal File System proposal, Directory and FileHandle.

Here's an alternate version where I renamed some things to match Filesystem API and FileWriter, and added the missing key feature of getting a persistent URL for a file in a local filesystem (extending the URL interface). It's still a much simpler API that provides most of the same functionality. 


Received on Monday, 24 September 2012 08:13:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:38 UTC