If that can help I wrote nymphormation 3 years ago that does that: https://github.com/benoitc/nymphormation
relevant view code is here: https://github.com/benoitc/nymphormation/blob/master/nymphormation/views/comments_subtree/map.js https://github.com/benoitc/nymphormation/blob/master/nymphormation/views/comments/map.js and display: https://github.com/benoitc/nymphormation/blob/master/nymphormation/_attachments/js/nymphormation.js#L522 Once of the goals was beeing able to update the tree in quasi rt. Hope it helps, - benoƮt On Fri, Feb 22, 2013 at 5:13 AM, Michael Heuberger <[email protected]> wrote: > Hello guys > > I'd like to store messages in a tree like structure. Whenever you reply to a > message, then the original message becomes the parent message. > > How would you implement something like this in CouchDB? Just curious and > need a little guidance + advice here. > > Thanks, > Michael > > -- > > Binary Kitchen > Michael Heuberger > 4c Dunbar Road > Mt Eden > Auckland 1024 > (New Zealand) > > Mobile (text only) ... +64 21 261 89 81 > Email ................ [email protected] > Website .............. http://www.binarykitchen.com >
