re: issue 453 #463

merged 1 commit into from Jun 21, 2012


None yet
2 participants

sakoht commented Feb 26, 2012


Added a very simple example, as requested.

I also changed the title of the page into something oriented around the problem/question/result the developer wants, instead of the means they will take to accomplish it. The previous title, "Transforming Views with List Functions" isn't a clear place to start, because it presumes the reader has already absorbed the content of the page when they are deciding to read it. I'm sure the title I chose "Rendering Content Based-On Multiple Documents with List Functions", could be shortened. :)

Hope this helps!


Added a very simple example, and re-titled to match the goal, not the

The developer's perspective is "I know what page I want the user to see.
How do I make that happen with couchdb?".  The answer is to organize the
data in a view function, and then write a list function which will do the content-type
specific parts, such as generate HTML.  This page presumed the user already
knew that they needed to transform a view to get content, and was
already thinking from that perspective.  I hope my addition at the top
brings them across, before delving into details.

janl added a commit that referenced this pull request Jun 21, 2012

@janl janl merged commit bd87407 into oreilly:gh-pages Jun 21, 2012


janl commented Jun 21, 2012


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment