This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
cdel's profile picture

Task List Functionality

Started by cdel, 05 March 2015 - 07:53 AM
cdel #1
Posted 05 March 2015 - 08:53 AM
I am creating a task list system in Javascript, I am not sure how I should be managing a persons task list. I am contemplating if I should store the list data locally on their computer, make it IP based so the server knows which data to give to who and I have thought about a user account system, but that seems a bit overkill for my requirements.
Lupus590 #2
Posted 05 March 2015 - 09:01 AM
My suggestion, keep it local and if you want to later, add a sync option for mobile devices later.
cdel #3
Posted 05 March 2015 - 09:03 AM
Thanks :)/>
apemanzilla #4
Posted 05 March 2015 - 06:16 PM
Storing it locally via local storage would be easiest, and reduce server load. I would also recommend allowing the user to save it as a JSON or similar format file.
Edited on 05 March 2015 - 05:16 PM
MKlegoman357 #5
Posted 05 March 2015 - 06:55 PM
An import and export feature would also be nice. I believe there is a kind-of global file type for tasks in mobile phones. Oh, and CC integration of course (maybe later via server storage) :P/>.
cdel #6
Posted 05 March 2015 - 09:41 PM
Thanks for the great suggestions, I will definetly be saving the files locally in JSON format. But I still am going to incorporate a sync-like feature where you can download task lists via a 5 character code you're given. But this won't be default, I will implement a "share" button or something similar.