logo       

Re: Yet another callback system proposal: msg#00060

Subject: Re: Yet another callback system proposal
On 2005-05-24, Michael Graham <magog-4YeSL8/OYKRWk0Htik3J/w@xxxxxxxxxxxxxxxx> 
wrote:
>
>> If anyone has some time to hammer something out, I would appreciate
>> it, 'cause I have a potentially busy weekend ahead of me.  It may be
>> sufficient to take Michael's latest patch and just remove and rework
>> the order of execution.
>
> I've made a first draft of a new patch available at the following (insanely
> long) URL:
>
>     
> http://occamstoothbrush.com/downloads/perl/CGI-Application-4.0_3-positionless-class-callbacks-patch.tar.gz
>
> (Note that this will extract as CGI::Application-4.0_3/)
>
> Changes from 4.0_2:
>   - callback system is class based, rather than object based
>
>   - removed named positions from callback system
>
>   - the calback order is now determined as follows:
>     - the callbacks are grouped by the classes that registered them
>     - the classes are sorted according to the order of the current
>       application's ISA tree (specific to general).
>     - if one class registered more than one callback, these are called
>       on the basis of FIFO (first in, first out)
>
>   - removed 4.0_2 callbacks.t test script and added a new one
>     (11callbacks.t)
>
>   - documented the new callback system in CGI/Application.pm
>
>   - added Class::ISA as a prerequisite in Makefile.PL
>
>   - added Test::More version 0.47 as a prerequisite in Makefile.PL
>     (previously it required version 0 - we could theoretcially change
>     this to 0.31, which was when is_deeply() was added.  All I know
>     is the tests work okay here on version 0.47)
>
>   - updated MANIFEST and Changes

Thanks Michael.

On first review, this looks great to me. 

It seemed to have some whitespace differences from my tree in a few
places, but I'm not concerned about those.

I'd feel comfortable releasing this.

Feedback from others?

    Mark

--
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   mark-WmyhgDpj2fCHT8/ATrE1yw@xxxxxxxxxxxxxxxx     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .


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




<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