Hello guys,
My application has a simple agenda. And for that I want to keep the information of the user's agenda in the client side - because I want to minimize the number of ajax requests to the server.
I'm using an array to store the hours and names of the activities the user has in the agenda. But the problem is that I need to keep the information alive between sessions, without having to ask the server. I tried to use localStorage but is seems kinda tricky, considering it only works with strings and I want an array. I also thought about keeping the information in a file that I would read when the application opens.
I'm confused about the best way to do this. Any ideas?
P.S 2 I'm using jQuery, jQuery Mobile and PhoneGap :)