Raj
Raj

Reputation: 21

Wrapper to support both webSql and indexedDB?

My application should support offline mode on the following browsers:

and also application using KendoUI for UI. I have looked at JayData which looks good fit for my requirement but I heard JayData wouldn't support some good features like Transactions and so. please share your feedback on Jaydata. also suggest best wrapper to support both webSql and indexedDB?

Upvotes: 0

Views: 2189

Answers (3)

Kyaw Tun
Kyaw Tun

Reputation: 13131

Suitable library depends on use case.

Try my open source library, ydn-db,http://dev.yathit.com/api-reference/ydn-db/storage.html lt supports all of those features.

I will use jaydata for backend sync with odata service. Otherwise, too heavy. Ydn-db itself is heavy. There are many thin wrapper out there. Use facebook indexeddb polyfill for websql.

Upvotes: 1

firien
firien

Reputation: 1568

facebook has an indexeddb polyfill, although there is a bug with indices.

my fork (branch:index_fix) has a fix and a pull request is pending. note: the minified js was not updated, use un-minified version

I have two indexedDB apps and i dropped indexedDB.polyfill.js in there and everything worked perfectly on safari (OSX and iOS)

Upvotes: 2

Gabor Dolla
Gabor Dolla

Reputation: 2736

JayData Pro does support transactions, it's free for non-commercial use and payware for commercial use.

Upvotes: 1

Related Questions