Mano wrote:
No, I did not say that! I did not mention who said that just to needle the
Pythonistas here :-) It was a quote by Jacob Kaplan-Moss
here<http://jacobian.org/writing/of-the-web/>.
Coming from a high priest in the Django community, I guess they are
comparable!!
Sorry to misquote :)
Its more than just a key value store. It speaks http (and only http). So you
want a resource, just use its URL to get it. Want to add a new record? Just
post it to the URL. No need for intermediate ORMs that will wrap a DB for
you and do all the translation.
So I heard, the only hiccup being the queries being in map/reduce, which
makes it slightly more complicated to query than other key-value stores.
Still, it being used to drive Karmic, is itself a pretty cool thing.
It stores data in JSON format and its native language is javascript. So,
just knowing js is enough for the server side and browser side. And if you
get only JSON data from the server and build all the html in the browser, I
think that should make the server pretty fast - cuts all the intermediate
translation from native db format to html.
Agreed - but given the fairly sophisticated ORMs these days, I doubt how
much of an upside that is. I don't mean to defend RDBMS too much though.
They are lumbering giants of the past that need to go away, but we still
need some of that relational goodness - so we have hybrids like MongoDB.
Add to this the ability to distribute it. So, I can have a web application
which can be entirely replicated in clients premises with a single command
(just get http://master_server_url/_replicate from the slave) and
periodically sync it with the master. Current web frameworks do not support
this use case! I think Karmic Koala makes it easier because it comes with
CouchDB built in.
True. I think Twitter would've avoided a great deal of fail-whales if
they went with a key-value store. But then, in 2006 nobody heard of
NoSQL :). It's definitely cool that it's being used in Karmic - but I
don't think CouchDB is ready to replace all sorts of web apps that are
built by traditional web frameworks. I think Jacob is right about one
thing though - this might very well be how the software of the future
will look like. Thanks for the insights.
Vamsee.
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc