Can someone give me direction as to where to go with this?
I have a online app (mostly javascript, mvc Django), a questionnaire. This app will also be offline, as allot of the areas where these questionnaires will be done do not have internet (this is Africa...).
So the way I see it is this: Save all answers offline, with lets say localstorage. Detect when users goes online Have a "report sync" page, with all the offline data in a list Let the user press a sync button then send the data to the Django models to save it.
I don't really know how to get where I want to go, but that's my plan. Any other suggestion?
Also please note that the people conducting the questionnaire will have their own computers, so I will have to give them a html web page that they can open offline.
I just need direction, I will figure it out somehow! :-)
EDIT: What about putting the "html" page into a executable file, so I know they cant delete files etc by ascendent? Maybe to complicated for this?
EDIT:
I now know that you cant use html5 localStorage on local files. Because the files will be stored locally on the persons computer, I dont think I can use localStorage. Any suggestions? I am thinking that I must have a very simple desktop app that starts a simple html web server so the localStorage can be used etc. Also that it is executable and safer that just an html file with all the source. Any ideas how?