incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@gmail.com>
Subject Re: Making Javascript methods available in views.
Date Sun, 21 Dec 2008 09:51:04 GMT
On Sun, Dec 21, 2008 at 1:47 AM, Chris Anderson <jchris@gmail.com> wrote:
> This is totally fine as long as you don't start changing the behavior
> of your libraries without flushing your view caches. Changing the
> functions for views in midstream could cause undefined behavior.
>

Forgot to mention that it's probably better to use a tool that manages
file-system to design doc correspondence, and pushing view code to
databases. This way CouchDB can handle expiring the views when you
change function definitions.

The couchapp script that's a part of
http://github.com/jchris/couchrest does this but I think there are
solutions written in more languages than Ruby.

Mime
View raw message