cross platform data storage questions

What is the best way to store data locally in a cross platform way? I assume that in a PhoneGap app on Android I won't have a DBService running, so I can't use my old Enyo 1.0 code anymore. Which is too bad because I really like the non-SQL/JSON object interface.

I've seen references to localStorage (WebKit specific?) and the wrapper that omastudios wrote that enyo-izes it. I understand it has a size limit of 5MB. But how does this compare to DBService?

For larger data stores, PhoneGap's Storage interface provides access to a SQLite Db. Is there an enyo-ized interface available for this -- something that would convert from JSON objects to SQL? Or is that in works for Enyo 2.0?

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Twitter