On Sat, Oct 3, 2009 at 4:35 AM, Vamsee Kanakala <[email protected]> wrote:

> Mano wrote:
>
>> "Django may be built *for* the Web, but CouchDB is built *of* the Web.
>> I’ve
>> never seen software that so completely embraces the philosophies behind
>> HTTP.
>> CouchDB makes Django look old-school in the same way that Django makes
>> ASPlook outdated."
>>
>>
>
>
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!!



> Wait a minute. Am I missing something here? CouchDB is an erlang-based
> key-value store (ok, or more fancily, document-oriented distributed
> database). Django is a web framework. How are they comparable?
>
>
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.

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.

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.

If a component to component comparison is attempted, well, they are not
comparable. But if you look at it as serving 'http resources' they _are_
comparable.

regds,
mano
_______________________________________________
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

Reply via email to