[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Moritz Heidkamp
Hey Peter,

Peter Danenberg  writes:
> It's nice, while debugging, to have access to temporary views; the
> attached patch makes it possible.  

very nice, thanks for the patch -- I have applied it to trunk
and tagged a new release so it show up in the egg repo shortly!

Moritz

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Peter Danenberg
Quoth Moritz Heidkamp on Sweetmorn, the 5th of Confusion:
> very nice, thanks for the patch -- I have applied it to trunk
> and tagged a new release so it show up in the egg repo shortly!

Great; thanks, Moritz! Have you tried deploying Scheme to your CouchDB
view server with couchapp, by the way?

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Moritz Heidkamp
Peter Danenberg  writes:

> Quoth Moritz Heidkamp on Sweetmorn, the 5th of Confusion:
>> very nice, thanks for the patch -- I have applied it to trunk
>> and tagged a new release so it show up in the egg repo shortly!
>
> Great; thanks, Moritz! Have you tried deploying Scheme to your CouchDB
> view server with couchapp, by the way?

Not sure I follow -- the view server is only for handling Scheme views
and couchapp is a piggy-back mechanism to deploy apps as attachments
directly in CouchDB, no? I don't think you can use Scheme to write
couchapps, you'd probably need something like Scheme2JS if I am not
mistaken. Note that the couchdb-view-server egg is currently more or
less broken since it's impossible to import modules into environments
(i.e. first class environments created by means of the environments
egg). I haven't gotten around fixing this problem yet, mainly because I
haven't really got an idea how to do it. Let me know when you
investigate!

Moritz

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Peter Danenberg
Quoth Moritz Heidkamp on Sweetmorn, the 5th of Confusion:
> I don't think you can use Scheme to write couchapps, you'd probably
> need something like Scheme2JS if I am not mistaken.

If you set the language attribute in your design document, couchapp
will happily deploy it:

  
http://groups.google.com/group/couchapp/browse_thread/thread/73f7e8fe4243b41b/6d09352e9b2fa0d5?lnk=raot

Without buying into the whole couchapp framework, it should give you
the ability to write Scheme views in paredit; without having to embed
scheme into JSON strings. It's purely convenience.

I'll give the view server a try and see what I can come up with.

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] Re: couchdb: send-temp-view-request (patch)

2010-05-31 Thread Moritz Heidkamp
Peter Danenberg  writes:
> Without buying into the whole couchapp framework, it should give you
> the ability to write Scheme views in paredit; without having to embed
> scheme into JSON strings. It's purely convenience.

Aaaah, now I understand. That sounds pretty handy, indeed!


> I'll give the view server a try and see what I can come up with.

Cool, I'm looking forward to your findings!

Moritz

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users