Firebase and IDB

101 views
Skip to first unread message

Taylor Buley

unread,
Apr 2, 2014, 9:18:19 AM4/2/14
to fireba...@googlegroups.com
Howdy, my name is Taylor and I'm an IndexedDB developer looking to extend my IDB library (https://github.com/buley/dash) to support Firebase as a "seamless" backstop to local data.

The library, dash, is all promise based and there's a middleware system so the idea is to intercept error callbacks and check Firebase to make sure the data doesn't exist server-side either before returning an error rather than success.

Think week I'm starting to wrap my head around how I can use the IDB API to decorate the Firebase JS SDK, but before I get too deep into some of the grittier stuff with indexes I wanted to check with the community on one major question: Are there any existing open source Firebase "shims" for IDB to which I can contribute and/or from which I can learn?

Michael Wulf

unread,
Apr 3, 2014, 7:27:24 PM4/3/14
to fireba...@googlegroups.com
Hi Taylor,

There are no IDB related libs for Firebase or even code samples that I've seen. We do have a persistence layer on iOS (beta) and upcoming persistence layers for Android and the JavaScript SDK. Those would overlap considerably in functionality.

The most difficult part about integration would be to deal with conflicting data; if a user is offline for some time and returns, and data has been changed both locally and remotely, it's no easy chore to decide how one applies those updates.

Regards,
Kato


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages