From: Dmitrii D. <dmi...@gm...> - 2009-07-19 20:02:04
|
Are there any plans to make Yaws 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 |