[cgiapp] ::Server vs ::Dispatch::Server: Worth having both?

2008-09-17 Thread Mark Stosberg
CGI::Application::Dispatch::Server was released in Summer of '07, in part because CGI::Application::Server didn't have dispatching support. But soon after, in the fall, CGI::Application::Server was released, which supports both dispatched and regular CGI::App entry points. In reviewing the

Re: [cgiapp] ::Server vs ::Dispatch::Server: Worth having both?

2008-09-17 Thread Bradley C Bailey
Mark, CGI::Application::Dispatch::Server was released in Summer of '07, in part because CGI::Application::Server didn't have dispatching support. But soon after, in the fall, CGI::Application::Server was released, which supports both dispatched and regular CGI::App entry points. In reviewing

Re: [cgiapp] ::Server vs ::Dispatch::Server: Worth having both?

2008-09-17 Thread Michael Peters
Bradley C Bailey wrote: In CAD::Server it tries to serve files staticly first before sending to dispatch. I think the best solution would be to specify a way to mark an entry point in the CA::Server config to specify static content. This would also improve performance since static content

Re: [cgiapp] ::Server vs ::Dispatch::Server: Worth having both?

2008-09-17 Thread Ricardo SIGNES
* Michael Peters [EMAIL PROTECTED] [2008-09-17T12:37:04] Bradley C Bailey wrote: In CAD::Server it tries to serve files staticly first before sending to dispatch. I think the best solution would be to specify a way to mark an entry point in the CA::Server config to specify static content.

Re: [cgiapp] ::Server vs ::Dispatch::Server: Worth having both?

2008-09-17 Thread George Hartzell
Bradley C Bailey writes: Mark, CGI::Application::Dispatch::Server was released in Summer of '07, in part because CGI::Application::Server didn't have dispatching support. But soon after, in the fall, CGI::Application::Server was released, which supports both dispatched and

[cgiapp] Possible patches for ::Server (was: Re: ::Server vs ::Dispatch::Server: Worth having both?)

2008-09-17 Thread Mark Stosberg
Patches welcome. I'd like to provide feedback on various proposed changes to CGI::Application::Server Need a way to specify parameters to dispatch() I disagree. The recommended way to do this to define a 'dispatch_args' routine in your CGI::Application::Dispatch subclass. I think George

Re: [cgiapp] Possible patches for ::Server (was: Re: ::Server vs ::Dispatch::Server: Worth having both?)

2008-09-17 Thread Ricardo SIGNES
* Mark Stosberg [EMAIL PROTECTED] [2008-09-17T20:57:37] ::Dispatch::Server prefers static files first, ::Server prefers dispatching first I think it is a bug in ::Server that it prefers dispatching server. The recommended use of ::Dispatch, and also for Drupal, is to use a rewrite rule