My final aim is to get elixir integrated with barrel and hence I thought the first thing for me to do, as a proof of concept would be, to get “Elixir views” working with Futon Temporary views.
I have been reading the source codes and have a rough idea of the flow.
- Temp view converted to DDoc (Source)
- Sending query to couch_mrview (Source)
- Either map_fold/5 or red_fold/5 which calls to btree fold/4 (Source)
@benoitc: Does this seem fine ?
If anyone can help me with the part where barrel, tries to parse the view query and run it, I can take it further from there.
Any help is welcome.