News for hackers. Stuff that matters.
Re:Deprecating the Sync and Datastore APIs by gcr on Wednesday May 06, 2015 @12:39PM (#9499910)
In terms of alternatives: I've worked with Firebase before, which is pretty reasonable after you wrap your head around the learning curve.

https://www.firebase.com/

Re:Deprecating the Sync and Datastore APIs by bsaul on Wednesday May 06, 2015 @06:26PM (#9502184)
Be EXTREMELY cautious when using document-based auto-syncing DBs such as firebase. If you're not closely following the best-practice such as using flat document structure instead of nested ones, and dictionaries instead of arrays, you may enter a world of nasty disappointments as you struggle to query and update your local data structure.

Data syncing is hard and so far i've only seen two possibilities : roll your own solution using the fact that you have a knowledge of your business that will help you be smart and small, or use a generic solution but take some time to understand deeply its way of working before you build your real product.

I actually had to cancel what i thought would be a short angular/firebase project after two days struggling to sync one big nested data structure displayed on a page, and realizing i actually had to rethink my model from scratch to fit the technology (which ended up being completely overkill for my need anyway).

Re:Deprecating the Sync and Datastore APIs by aikah on Wednesday May 06, 2015 @01:59PM (#9500551)
Does firebase work offline?
Re:Deprecating the Sync and Datastore APIs by sararob on Wednesday May 06, 2015 @02:22PM (#9500718)
[Firebase Developer Advocate]

Firebase does work offline if your app loses network connectivity temporarily (details here: https://www.firebase.com/docs/web/guide/offline-capabilities...). All data written while offline is stored in memory and is synced to the Firebase servers when your client reconnects. We’re working on improving offline support when your app goes into the background, and we currently have a beta version of this available for our iOS (https://groups.google.com/d/msg/firebase-talk/dOocEtjQz4w/ss...) and Android (https://groups.google.com/d/msg/firebase-talk/gYlnLgQ-Yhk/It...) SDKs.