Posts Tagged ‘CouchDB’

Storing Hierarchical Data in CouchDB

Friday, July 4th, 2008

Much to my surprise, my last post generated more traffic in a single day than my blog has ever gotten in a single month. Apparently people are quite interested in making web applications with Python. I’ve started on part two, but since so many people showed interest I want to spend more time on it than I spent on the last one. So instead, you get this post.

So I’ve been fiddling around with CouchDB lately. Since it’s common to store tree-based data, and it’s kind of a pain to do so in your standard relational DB, I thought it would be a good exercise to see how hard it is to store hierarchical data in CouchDB.

Turns out it’s pretty easy.

(more…)

CouchDB looks Awesome, my Slug is borked

Tuesday, June 24th, 2008

In lieu of a real blog post, and as a way to break the 3-week silence that has recently hung over this blog, I’d just like to say this:

I’ve been looking at CouchDB, and it looks awesome.

For those who don’t know, CouchDB is a RESTful, distributed, schema-free, document-oriented database.

It looks like it’s the answer to all those times when I was thinking to myself “Man, this really doesn’t need a relational database, it needs…something else.”

Well, from what I’ve seen so far, this just might be the something else.

I would have more to say about it, some examples even, except I’ve spent my last two evenings fiddling with my NSLU2, trying to get it actually up and working after having several hard drive issues. I’ve given up on one of my hard drives, but now the Debian install won’t finish, it dies half way through saying it failed to finish the configuration or some such thing.

Anyway, I may just have to give up on it sooner or later and start doing more interesting things, and once I do that, I’ll have something more to say about CouchDB, with some example code even.