couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Van de Velde <thomase...@gmail.com>
Subject Re: [Erlang] Custom modules in a view/show/list
Date Wed, 05 Oct 2011 22:06:15 GMT
I am mostly interested in sharing between a show and list as both can
generate similar outputs.

On Wed, Oct 5, 2011 at 4:53 PM, Ryan Ramage <ryan.ramage@gmail.com> wrote:

> Great, this is just the hole we need to call external services, make
> requests, hot swap code, etc!
>
> oh wait, and screw up the view by making it non referentially
> transparent! :) I think Paul really meant *quite* careful.
>
> On Wed, Oct 5, 2011 at 3:42 PM, Paul Davis <paul.joseph.davis@gmail.com>
> wrote:
> > Erlang code doesn't have a commonJS equivalent. If you were to put
> > code on the Erlang path you could reference it, but you'd want to be
> > *quite* careful about doing this for views.
> >
> > On Wed, Oct 5, 2011 at 4:08 PM, Thomas Van de Velde
> > <thomasevdv@gmail.com> wrote:
> >> Hi,
> >>
> >> How can I reference an external module from within a view, show or list?
> >> This would be to reuse code.
> >>
> >> Thanks!
> >>
> >> Thomas
> >>
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message