incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <jch...@apache.org>
Subject Re: [jira] Created: (COUCHDB-280) relative links between resources provided by design docs
Date Wed, 04 Mar 2009 16:43:32 GMT
On Wed, Mar 4, 2009 at 8:34 AM, Jason Davies <jason@jasondavies.com> wrote:
> I also prefer _render.  How about doing the analogous to what we do for JSON
> docs and views, i.e. something like:
>
> /db/_design/foo/_render/renderfun/docid
> /db/_design/foo/_render/renderfun/_view/viewname
>

I do believe this works, but I'm not convinced it is more elegant that
having one name for rendering views and one name for rendering
documents. For one thing, it doesn't take advantage of the
[httpd_design_handlers] extension point, and for another, it's just
plain long!

Not totally against it, but to me it's like making an origami
paper-crane, and then adding an elephant leg to it.

-- 
Chris Anderson
http://jchris.mfdz.com

Mime
View raw message