Re: Device Storage API

inline...

On Fri, Jun 1, 2012 at 12:27 PM, SULLIVAN, BRYAN L <bs3131@att.com> wrote:

>  Comment inline.****
>
> ** **
>
> Thanks,****
>
> Bryan Sullivan ****
>
> ** **
>
> *From:* Steve VanDeBogart [mailto:vandebo@google.com]
> *Sent:* Friday, June 01, 2012 12:01 PM
> *To:* SULLIVAN, BRYAN L
> *Cc:* Doug Turner; Frederick Hirsch; public-device-apis@w3.org
>
> *Subject:* Re: Device Storage API****
>
>  ** **
>
> I certainly can understand the appeal of separating different media types
> into different virtual containers, especially in the mobile context where
> file storage is generally abstracted away from the user. However, in the
> desktop environment I think it will end up confusing the users. If the user
> stores their pictures and videos from a particular event in a folder then
> when viewed through this kind of API those items get pulled apart into two
> different hierarchies. I prefer to preserve the user's organization system
> to minimize the user's confusion.****
>
> ** **
>
> <bryan> I believe in most cases the app would choose the storage
> abstraction that makes sense for the media type, and if there are options,
> perhaps present them to the user e.g. the option to store visual media in
> “pictures” or “videos”. The other options are to defer all storage
> decisions to the UA (e.g. based upon media type: too limiting) or to the
> user (e.g. based upon their explicit choice or selection of specific
> filesystem locations: too intrusive, difficult, and inconsistent in
> constrained devices). There is a balance in letting the app use
> abstractions and still offer the user the ability as appropriate to select
> the preferred abstraction.
>

For storing of new media, I certainly would defer to the application, it
will probably do what the user directs it to do.  But for media that
already exists on the platform the app and UA don't necessarily have any
input into how it is structured.  Consider a photo bug's desktop; the user
will certainly have devised an organizational scheme for pictures (and
video) e.g. My Pictures\2012\May\15\SF Trip\Wharf\

--
Steve

> **
>
> On Fri, Jun 1, 2012 at 5:59 AM, SULLIVAN, BRYAN L <bs3131@att.com> wrote:*
> ***
>
> Using well-known and user-familiar abstractions such as "pictures",
> "music", "video", "documents", "temp", etc is a good approach. We used that
> in the concept of file system "roots" in the WAC FileSystem API, and it's
> an easy thing for developers to leverage to point right to where they want
> to store/access files. It's also useful in presenting options to users for
> those data storage functions.
>
> Thanks,
> Bryan Sullivan
>
> -----Original Message-----
> From: Doug Turner [mailto:dougt@mozilla.com]
> Sent: Wednesday, May 30, 2012 8:38 AM
> To: Frederick Hirsch
> Cc: public-device-apis@w3.org
> Subject: Re: Device Storage API
>
> right, the Device Storage API leaves it up to the implementation to define
> what "file systems" are backing the storage.  I say that because you could
> have an implementation that uses a database instead of a file system
> directory.  The main entry point of the API allows you to pass what storage
> you're interested.  Our implementation for basically maps "pictures" to
> where on the file system pictures exists.
>
> ----- Original Message -----
> From: "Frederick Hirsch" <Frederick.Hirsch@nokia.com>
> To: public-device-apis@w3.org
> Cc: "Frederick Hirsch" <Frederick.Hirsch@nokia.com>
> Sent: Wednesday, May 30, 2012 7:00:47 AM
> Subject: Re: Device Storage API
>
> Doug
>
> I think it is worth discussing this Device Storage API in DAP, thanks for
> mentioning it.
>
> It is in the scope of gallery, which in the charter is for  "Gallery API,
> an API to manage the local media file storage" (sounds similar to the
> Device Storage API description you gave)
> http://www.w3.org/2011/07/DeviceAPICharter
>
> Is one difference of the Device Storage API and File System API that the
> device storage API might be limited to a more restricted portion of the
> file system than the file API? (e.g. limited to a media area?)
> Could this be a difference (responding to the question on the wiki page)
>
> Thanks
>
> regards, Frederick
>
> Frederick Hirsch
> Nokia
>
>
>
>
> ****
>
> ** **
>

Received on Friday, 1 June 2012 21:07:22 UTC