TinyDB is an interesting take on "cloud storage." Basically, you send some data via GET, they give you a URL, your data is stored in that URL. It's not private and it doesn't store a lot of information, but it has some interesting possibilities.
I think a good use for these sort of things, will be quick-built client-side only content dumpage. You go to "twitter-overload.com" type in a larger than 140 character message and hit save. JavaScript bundles up your data, stores it in TinyDB and hands you back a URL which will reload that data from TinyDB and display it. You take that url and post it to twitter. (Yes, I know that services like this exist, but the idea of doing it entirely client-side is interesting.)
TinyDB Toys is a simple proof of this concept. Here's a TinyDB Toy URL with some embedded data.
To facilitate this, I wrote a jQuery plugin, jQuery.tinydb. The two methods are documented within the source.
Drop me a comment if you hack up something cool with this.
Show Related Articles

Riley Smith :: Mon, 09 Jun 2008 20:43
Interesting, I wonder if you could post little snippets of processing could, and then hook in processing.js and have a little canvas drop.
Greg :: Wed, 07 Jan 2009 00:30
Hey, thanks for starting work on this plugin. I'm using it in an as-yet-unreleased client project. I needed to be able to append rows to an existing tinydb record as well (something they support in their api) so I added that facility. You didn't have a public repo for the code, so I stuck it in a gist here:
http://gist.github.com/44089
Greg :: Wed, 07 Jan 2009 01:02
I just added another feature that I needed in this same project: the ability to request all the rows that have been appended to a single tiny db entry (i.e. the inverse of the write append feature I added earlier). The usage of this looks like:
$.tinydb.read('myTinyDbID', function(data){ console.log(data); return false; }, {all : true});
that {all:true} opts object at the end there tells the plugin to request all the rows appended to the give tinydb record.
Also, the usage of the write case looks like this:
$.tinydb.write({result : resultName}, function(){return false;}, 'myTinyDbID');
The same as before, but with the id of the record to which you'd like to append the new rown added as the optional last arguement.
Both of these improvements should be backwards compatible with earlier uses of the plugin.
As before, the code is available here:
http://gist.github.com/44089