On 11/29/06, Luis Lavena <[EMAIL PROTECTED]> 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.run @mongrel_thread = @mongrel.acceptor @mongrel_thread.join It's very similar to the way Nitro works with Mongrel, as well. Kirk Haines _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users