The Unhosted project defines a standard for cross-origin storage of user data. The idea is quite simple: write your html5 app without the ajax-backend. Write only the app. Then, the domain where that user's data is stored is discovered based on the user address (user@host) with which the user logs in.
29th September 2011