On May 30, 2012, at 8:36 AM, Bruno Oliveira wrote:
I would say keep the R&D more general. I think it would be more useful to research general persistence strategies and once we have started creating our different demos, see how easy/hard it is to work the best strategy into those demos.
Also, in terms of persistence, I had an idea. If you look at AmplifyJS, they have extended the jQuery.ajax functionality to allow for caching and pulling from the cache when it's valid. What might be a good starting point would be to find a good cross-browser technique for detecting network connection (not easy from what I have seen) and further extend AmplifyJS to only invalidate the cache if it has expired and a network connection is present. If there is no connection, continue to pull from the cache until a connection exists. Something like that.
I would love feedback on that idea.