Marouane Gazanayi
Marouane Gazanayi

Reputation: 5183

Download json at launch of sencha touch 2 app

I'm new to Sencha touch and I want to know if I send a request to a server on launch of a Sencha touch 2 application, recieve the application/json file and store it localy, and then use it without requesting each time the server ? If you have a tutorial it would be great. Thnx

Upvotes: 1

Views: 360

Answers (1)

Thiem Nguyen
Thiem Nguyen

Reputation: 6365

Click here for first view of how to config your Store.

If you want your Store to load data automatically at startup time, don't forget to set autoLoad: true config.

Upvotes: 1

Related Questions