couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filippo Fadda <>
Subject Re: show/list
Date Thu, 14 Nov 2013 19:24:54 GMT
Benoit and you see them, the show and list handlers, like stored procedures, but they are not,
at least not in common sense. In most common perception, they are a way to produce HTML/XML
or whatever you want, from a single document (show) and from a group of documents (list).
And that the reason why they are called show and list. Documentation is clear about them,
it says "Formatting with Show and List". In this sense Joan is right, they are useless.
The use you have done is tricky, but I can see your point of view. Maybe they should be deprecated
in favor of a stored procedure engine. But I don't see that as a priority.


On Nov 14, 2013, at 7:31 PM, Stanley Iriele wrote:

> "Show lists is easy side HTML"
> This gives off the impression the this is the purpose of show/list
> functions and I believe that is patently false. they provide an extra layer
> of transformation on a document or result of a view. What she said was one
> particular use case, and a bad one at that, for show/list functions. I use
> them to create SLA with whatever client is consuming them. I've used lists
> to do delta compression across a collection of documents without returning
> them to the server.
> "To me, SHOW/LIST is ugly and should probably be deprecated."
> Fillipo @"Any application that uses CouchDB as a pure database doesn't need
> show and list handlers. They are simply useless"
> They are not useless. You are either using them wrong or do not understand
> what they are used for.

View raw message