A new developer release is now headed towards CPAN. The new stuff is all internal changes, but there are a couple things I thought others would be interested to comment on before they become cemented.

The first is that I've changed from using Class::ISA as part of callback introspection to using Class::MOP. This came out of my exploration of porting CGI::Application to Perl6, which is now in progress.

"ISA" doesn't seem to exist in Perl6, but Class::MOP provides the same design of object introspection that Perl6 will use. So while the result is the same, the approach appeals to me as being cleaner and forward looking. If there are any new drawbacks, it's a slightly larger dependency chain, and the addition of a "meta" class method to CGI::Application, which I suppose could be a conflict in some rare case.

The other interesting thing is that rjbs has started working on breaking up "run()" into smaller bits. This is better programming style, but also moves towards increasing the granularity at which functionality can be overridden.

New methods currently include:
        __get_runmode
        __get_runmeth
        __get_body

Feedback is welcome on whether these should be exposed to the user, with (possibly) better names. (rjbs)

        Mark


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

Reply via email to