Save and load profiles

Hello,
I am trying to make an app that stores data (i.e. profiles) locally (JSON file in the assets folder maybe?) and can retrieve it when the app is reopened. I will have say 10 different profiles and each will have maybe 20-25 different strings and numbers. I have been trying to figure out enyo.Collection and enyo.Model but I am not sure if that is the right direction. All the examples I have come across all use some outside source for their information but I need it to be locally stored. I have used localStorage for some things but I think that would take a lot of code. Any help is greatly appreciated.
-J

Comments

Sign In or Register to comment.