[erlang-questions] [ANN] mochicow 0.1

Dmitrii Dimandt dmitrii@REDACTED
Fri Jun 8 21:25:03 CEST 2012


Wow. Just wow

!!


On Jun 8, 2012, at 20:58 , Benoit Chesneau wrote:

> On Fri, Jun 8, 2012 at 7:25 PM, Bob Ippolito <bob@REDACTED> wrote:
>> On Fri, Jun 8, 2012 at 9:56 AM, Benoit Chesneau <bchesneau@REDACTED> wrote:
>>> 
>>> 
>>> I just released the version 1 of mochicow, a mochiweb adapter for
>>> cowboy. Use your mochiweb code d with cowboy.
>>> 
>>> There are 2 ways to use mochicow:
>>> 
>>> - as a cowboy protocol: It will use the socket acceptor pool of cowboy
>>> instead of the mochiweb one.
>>> - as a protocol upgrade. Like websockets you can upgrade a cowboy
>>> handler to use a mochiweb loop. It allows you to use both your new
>>> code with cowboy and old code with mochiweb.
>>> 
>>> See the examples in the examples for the usage.
>>> 
>>> The source is on github:
>>> 
>>> https://github.com/benoitc/mochicow
>>> 
>>> Enjoy :)
>> 
>> 
>> This is fantastic, I had considered doing this myself but I don't have any
>> legacy code to worry about at the moment :)
>> 
> 
> Thanks :)
> 
> I just commited a simple example with webmachine:
> 
>     https://github.com/benoitc/mochicow/tree/master/examples/webmachine_demo
> 
> The most interesting part is the `webmachine_mochicow` module:
> 
> https://github.com/benoitc/mochicow/blob/master/examples/webmachine_demo/src/webmachine_mochicow.erl
> 
> 
> Also  I'm doing some tests on top of the couchdb API with my fork
> couch_core/rcouch in the mochicow branch, and it seems to work enough
> well:
> 
> https://github.com/refuge/couch_core/compare/master...mochicow
> 
> - benoît
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list