Interesting way of doing things for web apps: http://www.hackers-with-attitude.com/2010/10/using-clojure-nosql-databases-and.html
May have some relevance to web2py with the new support for NoSQL db's - I like the idea of auto data sync between client (local storage API) and server (NoSQL key value store) with 'versioning' of data to avoid update conflicts. Maybe possible to make this an option in web2py for the future? Google Closure javascript stuff looks interesting too...