On Sat, Sep 22, 2012 at 9:15 PM, Michiel de Jong <
mic...@unhosted.org> wrote:
> On Sat, Sep 22, 2012 at 3:42 PM, Nick Jennings <
ni...@silverbucket.net> wrote:
>> How can you
>> call it an application if it's completely tied to an internet
>> connection and a server? That's still just a website. They offload
>> most of the server side logic but still make no case for conserving
>> network resources, handling data locally, etc.
>
> oh, i had assumed they would offer sync. if not, then it's pretty
> useless, yes. then remotestorage is better. :)
>
> of course the big benefit of remotestorage over deployd, then, is that
> it adds a local storage to the remote one. :)
Yeah, and since we have local storage -> remote storage, we can also
add the consistency and data validation checks at the "storage side".
... Just in our case "storage side" is still on the client.
>> I just heard about jStorage.js - I was wondering if remoteStorage.js
>> covers all this functionality?
>>
http://www.jstorage.info/
>
> cool! remotestorage has the storage, as well as the pubsub (still a
> bit buggy though probably).
>
> it does not have the Time To Live expulsion, but instead there are
> plans for LRU expulsion.
>
> it does not do the polyfill since there are probably no browser on the
> market that support cors but not localStorage.
>
> and of course the big benefit of remotestorage over jStorage is that
> it adds a remote storage to the local one. :)
>
> If you compare it this way, remotestorage is on its way to becoming a
> pretty nice player in the market.
Indeed! Actually my little rant above got me thinking about
localStorage in general. There's a size limit on localStorage, it
varies in browser from 2.5mb - 10mb.
It got me thinking, about the use-cases of offline mode with lots of
data... I found this:
http://www.w3.org/TR/IndexedDB/
A very cursory glance, and I didn't see anything about size limits.
Does remoteStorage.js just use localStorage directly? If so, I assume
we have a varied about of localStorage available not exceeding 10mb?