ewgi compatibility

1 view
Skip to first unread message

Dmitrii Dimandt

unread,
Jul 19, 2009, 4:02:24 PM7/19/09
to moch...@googlegroups.com
Are there any plans to make Mochiweb ewgi-compatible?

ewgi's author plans to take a shot at creating a patch for Yaws and Mochiweb to make them natively compatible with ewgi. What's the community's stance on this?


For those who don't know what ewgi is:

ewgi is Erlang's answer to Python's wsgi, http://www.python.org/dev/peps/pep-0333/, and Ruby's Rack, http://rack.rubyforge.org/

It is a minimal interface between the webserver and you app. It lets you applicaton to be completely server-agnostic. More importantly, it allows chainable middleware. See Django's middleware,http://docs.djangoproject.com/en/dev/topics/http/middleware/ and ewgi example middleware, http://github.com/skarab/ewgi_examples

ewgi's authors would like to see ewgi spec, http://code.google.com/p/ewgi/wiki/EWGISpecification, to become EEP in the future. However, there are not too many people talking about ewgi for some odd reason. Even though it's already being used in production: http://smarkets.files.wordpress.com/2009/07/huntermorris-erlangfactory.pdf


There's at least one web-framework that is currently ewgi-compatible (the one I'm collaborating on, http://beepbeep.dmitriid.com/documentation/middleware). Compatibility with ewgi may lead to a larger expanse and adoption of web-frameworkks

Kunthar

unread,
Jul 19, 2009, 4:11:34 PM7/19/09
to moch...@googlegroups.com
Congratulations!

You are the lucky one :p
Waiting your git address.

Peace
\|/ Kunthar

Dmitrii Dimandt

unread,
Jul 19, 2009, 4:31:30 PM7/19/09
to moch...@googlegroups.com
Which one? :)

ewgi is here: http://github.com/skarab/ewgi/
web-framework is here: http://github.com/dmitriid/beepbeep/

:)

Kunthar

unread,
Jul 19, 2009, 7:01:09 PM7/19/09
to moch...@googlegroups.com
Hehe yours bro :)
Yu gonna write one right?

\|/ Kunth

Bob Ippolito

unread,
Jul 19, 2009, 7:16:08 PM7/19/09
to moch...@googlegroups.com
On Sun, Jul 19, 2009 at 1:02 PM, Dmitrii Dimandt<dmit...@gmail.com> wrote:
> Are there any plans to make Mochiweb ewgi-compatible?
> ewgi's author plans to take a shot at creating a patch for Yaws and Mochiweb
> to make them natively compatible with ewgi. What's the community's stance on
> this?

It's not something that we would be likely to implement on our own,
but it could happen if there's a patch that looks good.

-bob

Reply all
Reply to author
Forward
0 new messages