On Fri, Jan 9, 2009 at 4:51 PM, Paul Davis <paul.joseph.da...@gmail.com>wrote:

> Renaming to _show: +1
> Keeping multiple functions: +1
>
> Multiple functions would allow me to do things like:
>
> http://127.0.0.1:5984/db_name/_show/foo/xml/docid 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.

Reply via email to