librelist archives

« back to archive

JavaScript Backend

JavaScript Backend

From:
Bryan Absher
Date:
2011-02-26 @ 04:16
Does anyone know of a JavaScript handler for mongrel2?

If one does not exist does anyone want to build one with me? I was
thinking that we could use the ZeroMQ Java bindings and then pass the
requests to JavaScript for parsing. I would use the Rhino JavaScript
engine.
____________
Bryan Absher

Re: [mongrel2] JavaScript Backend

From:
Daniel Huckstep
Date:
2011-02-26 @ 06:02
I sorted of hacked this up for node:
https://github.com/darkhelmet/node-mongrel2

- Daniel


On Fri, Feb 25, 2011 at 9:16 PM, Bryan Absher <bryan.absher@gmail.com>wrote:

> Does anyone know of a JavaScript handler for mongrel2?
>
> If one does not exist does anyone want to build one with me? I was
> thinking that we could use the ZeroMQ Java bindings and then pass the
> requests to JavaScript for parsing. I would use the Rhino JavaScript
> engine.
> ____________
> Bryan Absher
>

Re: [mongrel2] JavaScript Backend

From:
Isaac Force
Date:
2011-02-26 @ 06:23
>> On Fri, Feb 25, 2011 at 9:16 PM, Bryan Absher <bryan.absher@gmail.com>
>> wrote:
>> Does anyone know of a JavaScript handler for mongrel2?
>>
>On Fri, Feb 25, 2011 at 10:02 PM, Daniel Huckstep 
<darkhelmet@darkhelmetlive.com> wrote:
> I sorted of hacked this up for
> node: https://github.com/darkhelmet/node-mongrel2

For node.js there's also a M2 handler example that comes with the
ZeroMQ library:

http://tinyurl.com/nodejs-zmq-m2

-Isaac

Re: [mongrel2] JavaScript Backend

From:
Bryan Absher
Date:
2011-02-26 @ 22:05
thanks for the replies. Server side JavaScript + mongrel2. What more
could you ask for?
____________
Bryan Absher



On Fri, Feb 25, 2011 at 10:23 PM, Isaac Force <isaac@autognosis.org> wrote:
>>> On Fri, Feb 25, 2011 at 9:16 PM, Bryan Absher <bryan.absher@gmail.com>
>>> wrote:
>>> Does anyone know of a JavaScript handler for mongrel2?
>>>
>>On Fri, Feb 25, 2011 at 10:02 PM, Daniel Huckstep 
<darkhelmet@darkhelmetlive.com> wrote:
>> I sorted of hacked this up for
>> node: https://github.com/darkhelmet/node-mongrel2
>
> For node.js there's also a M2 handler example that comes with the
> ZeroMQ library:
>
> http://tinyurl.com/nodejs-zmq-m2
>
> -Isaac
>