Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Jack: Rack for JavaScript

0 views
Skip to first unread message

Tom Robinson

unread,
Jan 12, 2009, 6:41:33 PM1/12/09
to
Following up on the thread about hooking up Rhino to a webserver
http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/25b0b1619772ce4f#
I have ported portions of Rack (http://rack.rubyforge.org/) to
JavaScript. Rack/WSGI/Jack are essentially a thin interfaces between
web servers and Ruby/Python/JavaScript applications, respectively. It
also lets you hook up "middleware" that does things like logging,
serving static files, etc.

Right now it supports Jetty and Rhino, but it should be pretty easy to
support other servers. It's still a work in progress but I'd like to
get other people trying it out to get some feedback, and contributing!

http://github.com/tlrobinson/jack

I'll hang out in #jack-js on irc.freenode.net in case anyone needs
help/wants to contribute. Or email me.

George Moschovitis

unread,
Jan 21, 2009, 12:38:05 PM1/21/09
to
This looks like an interesting problem. Thanks for releasing!

-g.


On Jan 13, 1:41 am, Tom Robinson <tlrobin...@gmail.com> wrote:
> Following up on the thread about hooking up Rhino to a webserverhttp://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/brows...


> I have ported portions of Rack (http://rack.rubyforge.org/) to

> ...

George Moschovitis

unread,
Jan 22, 2009, 3:31:24 AM1/22/09
to
One question and one suggestions:

question:

- does the jetty handler support multithreading?

suggestion:

- it would be better to use Javascript conding conventions (ie
camelCase) instead of Ruby's coding conventions (ie snake_case)


regards,
-g.

On Jan 13, 1:41 am, Tom Robinson <tlrobin...@gmail.com> wrote:

> Following up on the thread about hooking up Rhino to a webserverhttp://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/brows...

Patrick Dobbs

unread,
Jan 22, 2009, 11:18:08 AM1/22/09
to
George Moschovitis wrote:
> One question and one suggestions:
>
> question:
>
> - does the jetty handler support multithreading?

I think this is same question I'm trying to address - see the discussion
thread "Single Rhino Context in MultiThreadedEnvironment", with some
answers from Norris. I think that, by default an http server (eg Jetty)
from a command line won't support multithreading. Probably need to run
some tests with threadlocals etc to figure this out. I might try to get
in touch with Jack's developer to see if he's got good ideas for this.

0 new messages