You are writing a comment about An Introduction to Using CouchDB with Django, here is a quick summary:
This is the final installment of my series of articles looking at how Django's loose coupling philosophy impacts day to day development. Here we'll be looking at using CouchDB with Django to create a simple web application.
You are responding to this comment written by Jan on August 19th 2008, 02:55.
Will, this is an excellent article. Thanks for taking the time to research and write it. Would you consider adding this to the CouchDB wiki (http://wiki.apache.org/couchdb/)?
You asked for feedback: The only most glaring thing I can see is using db.query(func) for queries. In CouchDB terms this means that you are using a temporary view. While flexible and useful in development, the results of a temporary view are created each time you use it.
CouchDB can also make permanent views. Permanent view's results are cached and updated incrementally resulting in way faster response times. You might not notice a big difference with just a handful of documents in the database, but you will later. In fact, permanent views are the recommended way to run queries.
See http://wiki.apache.org/couchdb/HttpViewApi for how to create permanent views. You can also use Futon that you can reach at http://127.0.0.1:5984/_utils/ in your installation.
I understand that just using db.query(func) makes for an easy introduction and permanent views add to complexity, but it'd be cool if you can add a bit of information about them in the article as I expect many to read this one :)
Thanks again, excellent work!
Cheers
Jan
--
Please be aware that comment forms go stale after one hour.
Comments may make use of LifeFlow MarkDown. Raw html will be escaped.
Quick Introduction to LifeFlow MarkDown Syntax
A highlighted code block:
Other common languages work as well: scheme, python, java, html, etc.
Other markdown syntax: