couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean Landolt" <>
Subject Re: _show API (née _form)
Date Fri, 09 Jan 2009 22:01:28 GMT
On Fri, Jan 9, 2009 at 4:51 PM, Paul Davis <>wrote:

> Renaming to _show: +1
> Keeping multiple functions: +1
> Multiple functions would allow me to do things like:
> right?
> It seems like multiple functions would reduce complexity in the show
> function implementations. Also, isn't this just the same as making
> design documents have a single view? I think that'd be fairly silly.
> Also, it kinda violates the "one design doc is an application" idea.
> And by violates, I means, chops the balls of the feature for anyone
> trying to stick to it. :D

Brilliantly poetic ;)

At the very least there should be a symmetry between the doc _show api and
the view _show api, and while switching on passed in parameters is
technically all the same, the internals of _show_view functions sound like
they'll be complex enough with head/tail/row semantics.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message