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

Re: [cgiapp] CGI::Application::Plugin::Attributes developer release



Jason Yates wrote:
> I have a developer release of my Attributes plugin up.  The plugin
> takes the PATH_INFO and dispatches the requests based on the
> attributes you've setup in your class.  This is very similar to how
> Catalyst works.  This plugin should't break the default behavoir of
> cgi-app.  So you should be able to intermix both approaches.

[snip]

> I'd love feedback, patches, or whatever.

I haven't tried it yet, but it definitely looks useful. I'm a fan of the
global dispatcher myself, but I can see the appeal of this approach as
well. My only complaint is the name.

It doesn't describe what it does but rather describes an implementation
detail. Maybe

  CAP::AttributeDispatch
  CAP::SubDispatch
  CAP::MethodDispatch

Not that those are much better :)

-- 
Michael Peters
Developer
Plus Three, LP


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