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

Re: File API to separate reading from files

From: Nikunj R. Mehta <nikunj.mehta@oracle.com>
Date: Wed, 19 Aug 2009 15:09:13 -0700
Cc: "Jonas Sicking" <jonas@sicking.cc>, "Web Applications Working Group WG" <public-webapps@w3.org>
Message-Id: <4CA2E046-9A5B-47ED-843E-2CA88239A422@oracle.com>
To: "Arve Bersvendsen" <arveb@opera.com>

On Aug 19, 2009, at 3:07 PM, Arve Bersvendsen wrote:

> On Wed, 19 Aug 2009 21:21:54 +0200, Jonas Sicking <jonas@sicking.cc>  
> wrote:
>
>> I do like the idea of having a stream primitive. I think we'll need
>> that for other things in the future such as reading data from a
>> camera, or reading data from a microphone.
>
> I quite concur, and for the widget space, actually writing data is a  
> real
> use-case.
>
>> However I'm not convinced that we should force people to use streams
>> to deal with the simple use case of reading data from a file. In 95%
>> (if not more) of the cases the user simply wants to get the contents
>> of the file, and so forcing them to do that using:
>
> Does the presence of an IOStream primitive exclude getAs*?

They are independent proposals. Of course, it is still possible that  
the next WD combine the two. I wouldn't like that too much, but that's  
just me.

> --
> Arve Bersvendsen
>
> Opera Software ASA, http://www.opera.com/
>

Nikunj
http://o-micron.blogspot.com
Received on Wednesday, 19 August 2009 22:12:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT