[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Re: C::A Namespace question (was Re: [ANNOUNCE] CGI::Application::Dispatch)


Michael Peters wrote:

Robert Hicks wrote:

I am just curious as I like C::A and am using it at work. What
differentiates a module using the "CGI-Application-" name versus the
"CGI-Application-Plugin-" namespace?

Plugins are used from within a CGI::Application module. Dispatch sits outside of
all of you modules and directs traffic to them. In the future this will probably
get more confusing since the Dispatch distro will come with plugins too.

The first (C::A::Plugin::DispatchURL?) will be used to create URLs
programmatically using the same dispatch table you used to map your urls.
Something like this

  $self->dispatch_url( app => 'MyApp', rm => 'foo', id => 123 );

HTH

Yup, I was just curious.

Robert


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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.