couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Gerakines" <>
Subject Re: CouchDB Success Stories
Date Tue, 29 Jul 2008 02:54:15 GMT
Oh I see. I've got a simple module called ipwcouchdb_janitor.erl that
contains all of the functions used to create and setup the CouchDB
store that I use. For each design document there is a function that
attempts to fetch it (to get the most recent revision) before
submitting the document. The actual views are just tuples defined in
the functions in the module.

# Nick Gerakines

On Mon, Jul 28, 2008 at 7:44 PM, Chris Anderson <> wrote:
> On Mon, Jul 28, 2008 at 6:03 PM, Paul Davis <> wrote:
>> Just had a thought, with 20 views, how do you (and anyone else) manage
>> to keep that straight?
> I have a script that keeps them on the filesystem as .js files (for
> syntax highlighting and version control).
> I've been thinking about writing a TextMate bundle to handle embedded
> JS in Ruby (because I think it might be clearer to keep the views near
> the functions that utilize them).
> --
> Chris Anderson

View raw message