
online.jerry at gmail
Jul 19, 2011, 9:55 AM
Post #4 of 6
(549 views)
Permalink
|
|
Re: Single PerlResponseHander for Web Application
[In reply to]
|
|
I agree, but isn't the Handler tightly coupled to the URI? rather if i can configure the mapping of URI and sub-handlers in a different configuration file or database, it will be easier to handle URI changes. On Mon, Jul 18, 2011 at 3:27 PM, Perrin Harkins <perrin [at] elem> wrote: > On Mon, Jul 18, 2011 at 6:02 PM, Jerry Pereira <online.jerry [at] gmail> > wrote: > > Single PerlResponseHandler for my application, all requests will be > > submitted to this handler, the handler will then dispatch the request to > > appropriate sub-handlers based on the URI path. > > Sounds like Apache2::Dispatch to me. > > > I also thought of using Apache2::Dispatch, > > but i believe it requires that each path has its own handler configured > in > > httpd.conf file (please correct me if I am wrong) > > You're confused about this one. Eliminating the need to add each > class to httpd.conf is the main reason that Dispatch exists. > > - Perrin > -- Your clothes may be the latest in style but you aint completely dressed until you wear a smile! Keep smiling : )
|