Hi,
As I promised, this weekend you will be able to start writing unhosted web apps using version 0.3. We will be on IRC (channel #unhosted on
irc.freenode.net) tomorrow afternoon and Sunday afternoon (European time).
Here is an exclusive preview of how I propose unhosted v0.3 should work. It will only work in chromium and chrome, NOT in firefox. It is meant for you, who finally want to start developing unhosted web apps for the unhosted standard v0.3. I'm calling it a standard now rather than a protocol, because we managed to reduce it to a mixture of existing protocols/standards, and to implement it on a stack of existing software packages.
Standard/protocols:
- CORS for cross-origin AJAX
- WebFinger for discovering where the user's data lives
- OAuth2-cs ('client-side') for logging in
- DAV for the key-value store
- Debian Lenny
- apache2
- libapache2-mod-php5 (minimal amount of glue-code for WebFinger and OAuth2)
- mod_headers (for CORS)
- mod_dav and mod_dav_fs (for DAV)
If you get a blank screen in the popup, just close the popup and refresh the 'main' window. the main window and the popup communicate with each other through html5 localStorage.
I trust you will use this demo only to look at how it works, not to try to hack it or to upload warez to my DAV server. And please don't put naughty ingredients on your favourite sandwich (although 'foo' and 'bar' are acceptable sandwich ingredients in this case). Enjoy!
Cheers,
Michiel