couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Ramage <ryan.ram...@gmail.com>
Subject Re: [Erlang] Custom modules in a view/show/list
Date Wed, 05 Oct 2011 21:53:06 GMT
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
View raw message