Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DA24D143 for ; Thu, 18 Oct 2012 17:15:42 +0000 (UTC) Received: (qmail 29337 invoked by uid 500); 18 Oct 2012 17:15:41 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 29046 invoked by uid 500); 18 Oct 2012 17:15:40 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 28989 invoked by uid 99); 18 Oct 2012 17:15:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 17:15:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of agrieve@google.com designates 209.85.219.47 as permitted sender) Received: from [209.85.219.47] (HELO mail-oa0-f47.google.com) (209.85.219.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Oct 2012 17:15:33 +0000 Received: by mail-oa0-f47.google.com with SMTP id h1so8933870oag.6 for ; Thu, 18 Oct 2012 10:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-system-of-record; bh=pMYf/ok5iNrEQIi7zsiAFM2X3W+pt+lj/mhRwq32/k8=; b=nVxlippaetNFcUe+NdkD9BuVPxvqmOwNPa5EK2Yf4a0cFhmJuKDCOFojwLjc6aUnwb lj2Wkm2ygkdFoM4DFzawVO0kvqdHFHQPm+OgSmrrCGfYL5Uu/ZlMfnWWuOfKK6f3+FJ3 iUr6J5Bs0gj1WgQzJmPPuKf/1RW7yNvtDQuYUhoHVjXjm0JTTyaEn08+LwZZqP+zIk+y hCysOsmQ4OoRjAPd14JMYfow0SJTYtI/oeAWegQem/5tTNBBnR2uP3/65TJ3ythzIFGf gWHhdMgPc5g8PiejSwYanLinlL+6Rhjuz0NTi/6AOg+AWCih5mh5xZuUMaL1QSGXs5qv ELjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=pMYf/ok5iNrEQIi7zsiAFM2X3W+pt+lj/mhRwq32/k8=; b=ABH6hYosCqBcDkTMeUQBLSR317sxyZcd5DDuGZerZls+eJH5PeL3U9kt03rHsf72nS PbAKEuk4/2cP9cNiIegWMW2VfO2bEgVMPjrX+tePr+UwcmXOACaz85+rRHln1StpD4d0 SUysblwYrABkCO5Mre6oO39Nx18OZriI9n04cUJfz5Lan1pMJsKYkCROakqU02iVN5qM ojx+wQDXoWLlOre3WhTmu0VDXqqDoKv1ciFa+PZrYddw4PcCO+qJneqdflAAsOHVYMTz W4rvMk0LHb1qUupVpS90WcBNHwKo7vFc1lZrQSTh62XuIdHYpYShZ/sCiu23Wlqfmfxd WAyg== Received: by 10.60.169.234 with SMTP id ah10mr19612037oec.12.1350580512861; Thu, 18 Oct 2012 10:15:12 -0700 (PDT) MIME-Version: 1.0 Sender: agrieve@google.com Received: by 10.182.27.68 with HTTP; Thu, 18 Oct 2012 10:14:52 -0700 (PDT) In-Reply-To: References: From: Andrew Grieve Date: Thu, 18 Oct 2012 13:14:52 -0400 X-Google-Sender-Auth: 97EMgdtf53nIfF5-c4xifKUiRyA Message-ID: Subject: Re: IOS6 LocalStorage filesystem target location. To: callback-dev@incubator.apache.org Cc: Michal Mocny , Shazron Abdullah Content-Type: multipart/alternative; boundary=bcaec54d4d8eb5ad5204cc58872b X-System-Of-Record: true X-Gm-Message-State: ALoCoQnn2xlGDb4z0LltG14CllLnk++FRoqmjX2NJ6qDRlyULqjKpZ1DfttWUjAkkqwJi3MVAZXM683EmmnZgmAhaVNHUtYjKyFazWc/x0wzieytsHe10sdd3IYhLcJqbkSiPFsAnTCxFeAb7vQ629tcC2gpdRUY+2YQmPD/LBthKefFZAqFj0jniFo+IUw+jHcLdE189zVVXVNSNolKO4iWcM1W5r6v4Q== X-Virus-Checked: Checked by ClamAV on apache.org --bcaec54d4d8eb5ad5204cc58872b Content-Type: text/plain; charset=ISO-8859-1 You're right that there are already many ways to sync to the cloud. I think the only thing that makes iCloud different from other options is that it doesn't (to the best of my knowledge) have an API that you can use, at least not in the same way that others provide. iCloud can't really be ignored, but it's so platform specific, that I don't think it's meaningful to write a cross-platform abstraction for it. I think we should document that apple has added a setting that makes webview's storage back-up to iCloud, and make sure that we don't break if this setting is enabled. Apps can also use the FileSystem API to put files in spots that will be iCloud backed-up. On Thu, Oct 18, 2012 at 12:30 PM, Patrick Mueller wrote: > Seems to me this is a wider-than-just-iOS issue. Does/will someone have a > "cloud" for Android, like Apple does for iOS? Or what about using Dropbox > ET AL. > > I see these axes: > > - storage interface - localStorage, webSQL, File, IndexedDB, ET AL > - storage persistence - "to the cloud!", "you can delete it, I'll > repopulate from the server as need be", "pretty please, don't delete it", > "under no circumstances delete it", ET AL > > Bolting stuff onto the existing interfaces to handle level of persistence > seems wrong. Maybe an orthogonal interface: > > class StorageStrategerizer { > typedef string Strategy; > > Strategy getStorageStrategy(storageType, storageName?) > > Strategy setStorageStrategy(storageType, storageName?, strategy) > } > > Anything going on here in W3C, IETF, HTML5, ET AL re: this kind of thing? > > Maybe queue up a wiki page to strategerize on the topic? > > On Thu, Oct 18, 2012 at 11:06 AM, Michal Mocny > wrote: > > > So there has been a lot of back and forth recently about where and how > > to backup localstorage (see: > > https://issues.apache.org/jira/browse/CB-1561) > > > > At least one users wants these to backup to iCloud -- and while I > > don't see how that makes real sense, the fact that apple added a flag > > to allow this in ios6 maybe signals we should allow the option. > > > > Given that this cannot work on versions less than 5.1, may not be > > enabled on ios6, and may not work the way developers expect anyway, is > > there a point? > > > > Shaz, would appreciate your opinion here, if you are around. > > > > -- > Patrick Mueller > http://muellerware.org > --bcaec54d4d8eb5ad5204cc58872b--