personal software / biz development blog

CouchDB's update handler can write requests to JSON docs to the database. The article describes an implementation of a shortening service that is compatible with the popular twitter app Tweetbot.

https://github.com/llabball/couchdb-urlsho...
becomes
http://url.yourdomain.tld/QWxd

As result everyone with a CouchDB running in the internet can publish their own short urls... ok, take me there

CouchDB can respond static ressources like HTML content or images which are stored as attachments to JSON documents. The article describes detailed (source code available) how to use that capability in example for blog posts.

As result a request duration and server-side execution load focused comparison is given between the sharing via the common dynamically generated way and the offering of static web ressouces: advantages are clearly visible for ...