[Mongrel] Mongrel as Win32 service for a camping app?

Kirk Haines wyhaines at gmail.com
Wed Nov 29 19:12:36 EST 2006

On 11/29/06, Luis Lavena <luislavena at gmail.com> wrote:

> Because every framework "start" quite different from how rails start
> things up. Mongrel should implement a way to auto-sense based on the
> params and the directory structure which framework should it load.
> Will be excellent to have that, but is a huge task and the frameworks
> (camping, rails, IOWA, merb) differ a lot.

In the case of IOWA, it's really IOWA that is in charge, not Mongrel.
The IOWA app takes care of setting up the configuration for Mongrel,
and then registers the Iowa::MongrelHandler with Mongrel.  It then
starts the Mongrel event loop via:

      @mongrel_thread = @mongrel.acceptor

It's very similar to the way Nitro works with Mongrel, as well.

Kirk Haines

More information about the Mongrel-users mailing list