|
Re: CouchDB Success Stories: msg#00149db.couchdb.devel
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 <jchris-ZB/pdL+efyc@xxxxxxxxxxxxxxxx> wrote: > On Mon, Jul 28, 2008 at 6:03 PM, Paul Davis > <paul.joseph.davis-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> 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 > http://jchris.mfdz.com > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: CouchDB Success Stories: 00149, Chris Anderson |
|---|---|
| Next by Date: | Re: CouchDB Success Stories: 00149, Randall Leeds |
| Previous by Thread: | Re: CouchDB Success Storiesi: 00149, Chris Anderson |
| Next by Thread: | Re: CouchDB Success Stories: 00149, Randall Leeds |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |