incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Stevens (Gmail)" <wickedg...@gmail.com>
Subject Re: Part2: What's up dev? About couchapps.
Date Wed, 26 Sep 2012 05:58:11 GMT
On Tue, Sep 25, 2012 at 10:25 PM, Ryan Ramage <ryan.ramage@gmail.com> wrote:
> 1) We have to decide on the directory structure. Based on what benoit
> and dale have brought up. I have opinions, along with others. Lets not
> rattle sabres around this  yet. But pick something relatively user
> friendly, and straightforward. This can be actioned in our weekly irc.

Would it make sense to have the directory structure be something that
isn't couchapp specific, and instead dump/load *entire databases*
to/from disk?  I could see that actually making it a simpler tool,
since there would be a natural tendency to resist a bunch of
special-case handling for corner cases, ease of use, etc.  Instead,
you'd end up with a directory full of:

my_doc_id.json
my_doc_id.attachments/my_bin_file.dat
my_doc_id.attachments/my_image_file.jpg
etc.

Then the various couchapp tools could focus on various workflows to
make creating the simple structure and calling the default DB load
tool.

I'm not a couchapp user, so feel free to discard this idea if it
doesn't make sense or if it doesn't gain any traction.

Cheers,
Eli

Mime
View raw message