logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: RFC - C::A::Plugin::Apache: msg#00183

Subject: Re: RFC - C::A::Plugin::Apache
Rob Kinyon wrote:
Don't set an environment variable. We're working within an OO
framework, so why not have a member that's been set aside for
plugin-to-plugin communication? It could be as simple as every plugin
registers that it's been loaded ... So, if you want to find out if a
given plugin is loaded, you do something like $self->is_plugin_loaded(
'Apache' ) or whatever. That way, we're not depending on an outside
framework like %ENV.

I agree an object approach would be best. I was just making a suggestion to implement this 'feature' with out modifying C::A. So, until C::A gets a way to register callbacks, I don't see a reliable way for plugins to be able to register themselves.

--
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
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





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>