logo       

Re: Re: RFC: CGI::Application::RunModeCache: msg#00061

Subject: Re: Re: RFC: CGI::Application::RunModeCache
Hi Cees,

> If I miss the part in the docs where it tells me to do that, I may get
> frustrated with the module, because it "does not work as advertised".  I
> shouldn't have to alter any code that has nothing to do with Authentication 
> just
> to use this module.

Agreed. Given the example, it makes sense to me that C::App defaults to
"automatic" forwarding.


> Thats true, but that could be done with a subclass and overriding the method. 
> for example, lets use the authentication module example again.  If I use
> CGI::App::Auth and I want to capture the cgiapp_prerun method it uses and do 
> my
> own thing instead, then I create a subclass of CGI::App::Auth and override 
> it's
> cgiapp_runmode method and use the subclass in my modules instead.

This sounds like a reasonable way to override default behavior.


> Hope that answers your questions.

Yes, thanks, it does; unfortunately the docs you pointed me to are a bit
outside my current scope of understanding. Perhaps your reimplementation
in C::App will help.

It sounds like what your patch will ultimately provide is a way to
easily add/remove functions into C::App which would make things much
easier for new users as well as for those of us who have our favored
modules and gobs of code to make them easily available in C::App (e.g.,
CGI::Session which you've made into an easily imported class saving me
from dragging around my custom code from project to project).


Regards,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/cgiapp@xxxxxxxxxxxxxxxxx/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: cgiapp-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: cgiapp-help@xxxxxxxxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe