23 Jun 2013 3:37 AM #1
Unanswered: Update data to json local file - Sencha touch
Can anyone help me to update data to json file? I am able to read data from json file and show it in a web browser fields. But i failed to update the data back to json file(which is stored in a local folder) after making some changes to data. I tried with jsonwriter's write method, but I am not able to write the correct syntax/code of the same. I am fairly new to Sencha touch technology.
Thank you in advance!
23 Jun 2013 10:02 AM #2
23 Jun 2013 6:04 PM #3
Thank you for your reply.
I already have the model and store defined in my application. What I am looking for is the code to update the data to local json file by some method.
24 Jun 2013 12:54 AM #4
as you know this is js project and all files are being loaded on at the first time of project loaded, so for me we cannot update file for the future purposes ,
btw why you dnt store data on your server ?
if you dnt want to you server side stuff then you can use SQLite (upto 5mb)
24 Jun 2013 2:19 AM #5
Thank you again!!!
I am creating a sample application as part of a demo, and my plan was to just use the json file to add/update data. But from your reply I suspect that is not possible so let me try with SQLite.
24 Jun 2013 4:52 AM #6