3 ms·
Just strange that you don't support offline for web apps, only iOS & Android, even though web apps can use websql. That's probably cause you're used to writing
by akrymski 14y ago
Just strange that you don't support offline for web apps, only iOS & Android, even though web apps can use websql.
That's probably cause you're used to writing native iOS apps, but we're attempting a web app that works via phonegap across all devices from one source code base.
So for us storing all the data in Backbone collections isn't an option - models add too much memory overhead, versus native JSON objects.
As I understand multiple collections update independently of each other? How do you deal with relational data in that case?
- cloudmike 14y agoConsistent browser support for storage (besides localStorage) is still quite frustrating. It's improving though and we're on it. You can model relational data in Backbone quite effectively, or use another library (or your own). For example: https://github.com/PaulUithol/Backbone-relational/ https://github.com/PaulUithol/Backbone-relational/