16 Jan 2014 5:27 AM #1
IndexedDB proxy for sencha touch
I've implemented a proxy for sencha touch based on indexeddb database.
You can find the js file and a simple demo at the following link: https://github.com/yupitz/IndexedDB
At the moment is not possibile to handle the db version's upgrade, and is not possible to filter the records given from the query operations.
17 Jan 2014 10:57 AM #2
Cool! I've seen requests for this recently. Thanks for sharing.Get more personalized support via a support subscription.
Want to learn Sencha Touch 2? Check out
Sencha Touch in Action
Need more help with your app? Hire Sencha Services email@example.com
When posting code, please use BBCode's CODE tags.
Need to include a test case use:
The official Sencha Fiddle
2 Apr 2014 7:31 AM #3
16 Apr 2014 9:22 PM #4
at the moment i have no much time to spend with this proxy. But maybe in the future it could be usefull also for my projects. So if you have some requests or suggestions for any improvement, they will be integrated in the next version.
ps: i'm sorry for the slow response
16 Apr 2015 5:45 PM #5
Server generated id
I'm swapping between a REST proxy and IndexedDB to store data offline. Is there any way to use a server supplied id (called 'id') as the IndexedDB id?
The id field works with the REST proxy, has to be renamed (e.g item_id) and can't be the idProperty when used with the indexedDB proxy.