A php couchdb lessons