Hi guys and gals,
It's been a long while since I've posted here on the boards, so I hope all of you are doing well.
I have recently picked up C2 again to see how far it has come (I was a CC addict) once more, with intent on making some slightly, non-standard production to help out a friend.
The main requirement for this project is data handling (storage and recovery) since a portion of the software will be keeping information (text/images) that need to be run-time creatable/editable, then be able to save and commit changes to disk and later recall them easily.
I have been reading up on the new data objects such as Dictionary, LocalStorage, and the good ole Array... as well as AJAX. Like the noob that I am, I've gotten stuck with a few things. Even tutorials various people have created have left me with unanswered questions, and some of the methods that are used in the tutorials don't seem to function any more (I guess mostly due to depreciated methods and objects).
--------------
I have so far successfully managed to pull text data from sevel editable textbox objects and produce a JSON string from the data. I am falling over when it comes to "saving" the data, since there is only the "download" function that requires user input to path the data to a certain location (and no way to point to that same location for re-opening). It really makes me miss the way array saving/loading to plain text used to work in CC, and wonder further why this option has been removed in C2?
I then began to look at AJAX, for perhaps uploading the JSON data to cloud storage, then retrieving it when requested... but I think I'm doing something wrong (obviously, this is me we're talking about).
In a nutshell, what would anyone recommend for being able to store data entered in several textbox objects, display this data in a list of some sort (so you can click on it and edit/view the attached data), and obviously recall the data into the same textboxes where it was originally entered for editing/viewing purposes?
So far I have a dictionary object, and 4 text boxes that generate a JSON string which can be "downloaded". Is there a way to either commit these strings to a local storage (specified drive and directory, NOT web/storage folder in the browser!) or to use AJAX and upload them to say, DropBox, and reliably recall them later?
Thanks in advance... not using this software for such a long time hasn't made this any easier... but any help or general information would be greatly appreciated.
~Sol