CouchDB's support for "views" and using comet/websockets (have they implemented websockets yet?) to communicate with a JS app served from the DB itself...
Riak does too - any DB that implements a RESTful interface to the database instead of a binary protocol.
CouchDB is particularly well-suited for this use-case though (I would never use Riak in that fashion).
Exactly. Couchdb is preferable to this for so many reasons. The author is effectively using the Nginx configuration language for server-side scripting. The result ends up looking a lot like a bad PHP crud app. With couchdb, the REST API is already built in.