On Fri 13 Mar 2009 01:24, Rory Douglas <[email protected]> wrote:
> I'm not very familiar with CouchDB at all, but after reviewing the > CouchDB wiki & website, this is what stands out to me: I'm not a couchdb expert either. I bumped into it back in March 2007 long before it came to Apache, but haven't built anything serious with it. And it's changed *a lot* in the last few months. Well, they've added more and more support for CouchApps. > Similarities: > ... > 5) Both support development in a variety of scripting & formal languages Actually, couchdb is pretty much limited to JavaScript. Despite being written in erlang, users of couchdb see it as a very JavaScript-y system. > 3) Sling can generate any kind of representation for a specific > "document", not just JSON couchdb can render html and xml. plus you can "attach" arbitrary files to any couchdb document, so couchdb can serve static images, etc. > c) CouchDB is a standalone server architecture - you store your > data there, not your application While CouchDB is typically used this way, Chris and others have been doing a lot to allow CouchDB to actually host your application. So your pages are documents served and interpretted by couchdb. Consider this bit of JavaScript stored as a CouchDB document: http://github.com/jchris/sofa/blob/0b91432eb79666ad50b142b02af5ac780cdc91dc/lists/index.js > If any of the above is off-base or plain wrong, I apologize. I > thought it was an interesting question because I'd wondered about > CouchDB myself in the past (but haven't had nearly enough time to > truly investigate it). Nothing to apologize about. I was just trying to raise an interesting question. I suggest the sling team touch base with the couchdb guys. The upcoming ApacheCon Europe conference should be a good place to do that. The projects are certainly in similar spaces. And finally, with my mentor hat on, if sling wants to pick up more committers and interest, I recommend looking into couchdb more. They've got a lot of good buzz going. -- J Aaron Farr jadetower.com [US] +1 724-964-4515 馮傑仁 cubiclemuses.com [HK] +852 8123-7905
