I actually started long time ago to make erlyweb work with iserve, but never got to a point where it actually worked. Anyway, erlyweb on mochiweb would rock, and a common gateway interface even more !
Filippo, do you have a concrete suggestion for such a gateway interface ? For using mochiweb to replace yaws you need to be aware that mochiweb is not a webserver (you have to build one from scratch using mochiweb) and does not offer anything for static file serving, so you need either to rely purely on a CDN, or another webserver (Lighttpd or nginx) or add static fileserving and ETAG handling to mochiweb. regards Roberto > Hi, > at the moment we have at least four different erlang web servers (yaws, > mochiweb, inets_httpd and iserve). IMHO it would be a good idea having a > little gateway interface like python's > wsgi:http://www.python.org/dev/peps/pep-0333/ > > This would allow easily building frameworks and libraries abstracting > from the underlying server. You write frameworks and libraries using the > gateway interface without worrying whether you are working with yaws, > mochiweb or whatever. > > I've been thinking about this for a while but hadn't have much time to > work on it yet. > What do you think? > > cheers, > filippo > > Yariv Sadan wrote: > > Now there's definitely a good reason to remove the dependency on the > > Yaws arg. It shouldn't be too hard -- I think the only internal > > dependency is where ErlyWeb inspects the appmod to derive the > > requested component. If anyone wishes to use ErlyWeb with MochiWeb, it > > would be great it they took on this little project and contributed > > their work. (I've already started using Yaws for Vimagi, so I don't > > want to go through the trouble of switching, but MochiWeb does look > > like a great alternative for new apps.) > > > On Nov 11, 2007 10:15 PM, Robin <[EMAIL PROTECTED]> wrote: > >> MochiWeb was recently open sourced: > > >> Announcement: > >>http://bob.pythonmac.org/archives/2007/11/07/mochiweb-another-faster-... > > >> Google Code: > >>http://code.google.com/p/mochiweb/ > > >> Google Group: > >>http://groups.google.com/group/mochiweb > > >> ErlyMochiWeb anyone? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlyweb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en -~----------~----~----~----~------~----~------~--~---
