had to overcome, was that all my data would be gone on a page reload or
quite some time now, but I never gave this issue much thought until that
time. After searching for a solution, I came out disappointed.
had an object named "game" that contained all the other objects,
players, stars, galaxy and they all cross referenced each other (similar
to any has many and belongs to associations). Ideally, this would be
stored and rebuild on page load.
So I came up with my own implementation, which I'll be open sourcing today: https://github.com/viseztrance/perseverance
If you have any issue, feel free to mail me or open a ticket. However you may want to run the jasmine tests first.