WARBLER - What is the difference between Merb and Rack webxml booters?

What is the actual difference at runtime between doing

config.webxml.booter = :merb

and

config.webxml.booter = :rack

in the warble.rb file?

Currently, I’m using :merb. Should I be using :rack, or would that only
make sense if I were dealing with a non-Merb, non-Rails app.?

Thanks,
Wes


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Tue, Aug 19, 2008 at 12:08 PM, Wes G. [email protected] wrote:

make sense if I were dealing with a non-Merb, non-Rails app.?
Basically, yes. You might be able to get Merb working with the :rack
booter and a canned Merb rackup file, but I haven’t tried it.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Nick S. wrote:

in the warble.rb file?
Currently, I’m using :merb. Should I be using :rack, or would that only
make sense if I were dealing with a non-Merb, non-Rails app.?

Basically, yes. You might be able to get Merb working with the :rack
booter and a canned Merb rackup file, but I haven’t tried it.

What is the point of doing that? Why is it better (if it is)?

Wes


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Tue, Aug 19, 2008 at 12:42 PM, Wes G. [email protected] wrote:

What is the point of doing that? Why is it better (if it is)?

Dudley F. wrote most of the Merb booter. The upside is less
configuration and better adaptation to the servlet environment – Merb
environment is booted, logger gets redirected to appserver log,
session are bridged to the java servlet sessions.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Nick S. wrote:

booter and a canned Merb rackup file, but I haven’t tried it.

What is the point of doing that? Why is it better (if it is)?

Dudley F. wrote most of the Merb booter. The upside is less
configuration and better adaptation to the servlet environment – Merb
environment is booted, logger gets redirected to appserver log,
session are bridged to the java servlet sessions
Not to be dense, does “upside” mean the upside of the Merb booter or the
Rack booter?


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Wes G. wrote:

Dudley F. wrote most of the Merb booter. The upside is less
configuration and better adaptation to the servlet environment – Merb
environment is booted, logger gets redirected to appserver log,
session are bridged to the java servlet sessions
Not to be dense, does “upside” mean the upside of the Merb booter or the
Rack booter?

Upside refers to the merb booter. In order to support Rack, we have to
“generalize” the objects provided by the servlet API a bit more, so
there’s a potential they’ll be a bit slower as a result (in comparison
to the app-specific booters.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs