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

Re: File API to separate reading from files

From: Arve Bersvendsen <arveb@opera.com>
Date: Thu, 20 Aug 2009 00:07:43 +0200
To: "Jonas Sicking" <jonas@sicking.cc>, "Nikunj R. Mehta" <nikunj.mehta@oracle.com>
Cc: "Web Applications Working Group WG" <public-webapps@w3.org>
Message-ID: <op.uyxjq5f1byn2jm@galactica>
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*?
-- 
Arve Bersvendsen

Opera Software ASA, http://www.opera.com/
Received on Wednesday, 19 August 2009 22:08:31 GMT

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