couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulises <>
Subject Re: _show API (née _form)
Date Mon, 12 Jan 2009 08:21:54 GMT
> I see where you're coming from, but I don't like this very much. My
> thoughts were something along the lines of being able to have multiple
> show functions per view. We could do the repeating the view code but
> that's really not good.

FWIW, +1 on multiple shows per view. Following the MVC ideology, we
could say that the couchdb view is actually the model (the data) and
that the couchdb _show is the MVC view (the presentation). It only
makes sense (at least to me) to be able to present the same data in
many different ways, i.e. XML or JSON.


View raw message