From: Sys Ppp Date: 2009-08-29T02:58:24+09:00 Subject: Re: Rack must not dictate how to create a middleware Brian Candler wrote: > If you use rackup, which in turn reads config.ru and wraps it in a > Builder class, then you are using Builder. But in the first case, you > don't need to use rackup at all to start your application; Actually it is not needed to wrap something to some class only for wrapping something to some class. It would be more weighty reason to use Builder. > and in the > second case, even using Builder, you can write > > x = any_combination_of_rack_modules_you_like > run x > In such case I shall jast write x = any_combination_of_rack_modules_you_like Rack::Handler::ConcreteHandler.run x In fact there is the one reason of using the Builder. To use already existing middleware which already have been developed for not so clear semantics of the Builder. -- Posted via http://www.ruby-forum.com/.