javascript - Large Offline Storage with Sencha Touch 2 - Stack Overflow

I'm currently working on a mobile app (implemented using Sencha Touch 2 and designed to run on an

I'm currently working on a mobile app (implemented using Sencha Touch 2 and designed to run on an iPad). There is a requirement to pull a fairly large amount of data (3000+ objects, objects have around 30 fields) down to the app from a web service and then persist the data locally for use offline. I've investigated the standard solutions discussed here and elsewhere whereby localstorage proxies are used to persist the data after pulling it from the web service, but I run into the dreaded QUOTA_EXCEEDED_ERR due to the amount of data I'm trying to persist.

There are a handful of threads around discussing things like SQLLite and Lawnchair (including this thread where someone mentions integrating Sencha with Lawnchair and refers to a guide which I can't find anywhere) but no concrete examples or success stories. Can anyone remend a tried/tested method of persisting large datasets using Sencha Touch?

EDIT: After asking a similar question on the Sencha Forums I'm investigating the use of SQLite using the SQLite Proxy for ST2. Will update this thread further for the benefit of others once I have made progress.

I'm currently working on a mobile app (implemented using Sencha Touch 2 and designed to run on an iPad). There is a requirement to pull a fairly large amount of data (3000+ objects, objects have around 30 fields) down to the app from a web service and then persist the data locally for use offline. I've investigated the standard solutions discussed here and elsewhere whereby localstorage proxies are used to persist the data after pulling it from the web service, but I run into the dreaded QUOTA_EXCEEDED_ERR due to the amount of data I'm trying to persist.

There are a handful of threads around discussing things like SQLLite and Lawnchair (including this thread where someone mentions integrating Sencha with Lawnchair and refers to a guide which I can't find anywhere) but no concrete examples or success stories. Can anyone remend a tried/tested method of persisting large datasets using Sencha Touch?

EDIT: After asking a similar question on the Sencha Forums I'm investigating the use of SQLite using the SQLite Proxy for ST2. Will update this thread further for the benefit of others once I have made progress.

Share Improve this question edited May 23, 2017 at 11:56 CommunityBot 11 silver badge asked May 15, 2012 at 15:20 Henry WilsonHenry Wilson 3,3515 gold badges33 silver badges47 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 4

Ended up using the SQLite Proxy for ST2 to solve my problem regarding persistence of a large dataset. Highly remended, and with a really helpful munity on the Sencha forums who were invaluable in getting the solution working.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745307752a4621816.html

相关推荐

  • javascript - Large Offline Storage with Sencha Touch 2 - Stack Overflow

    I'm currently working on a mobile app (implemented using Sencha Touch 2 and designed to run on an

    10小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信