logo       

Re: ANNOUNCE: CGI::Application::Plugin::DevPopup 0.01: msg#00130

Subject: Re: ANNOUNCE: CGI::Application::Plugin::DevPopup 0.01
Michael Graham wrote:
Rhesa,

This is too cool!  I can think of all sorts of uses for this.  For
instance, it would be very useful to have a simple
logger/dumper/debugger plugin that lets you dump the app state at
various points in the app's life cycle.

I'm imagining a LogDispatch plugin that would collect those, and hand them over to DevPopup at the right time. This would be a great aid in development. I usually have a bunch of "tail -f"'s running, but this would be much easier to inspect!

One of the problems that I often have is that the $self object is so big
that it's pretty pointless to dump it to the error log.  But a
browseable version of the $self object using the DHTML-based folding
tricks that you use for reports would be very useful.

Absolutely

Regarding the timings plugin I have a couple of suggestions:

 * the name of the current template is available to the load_tmpl hook -
   it would be nice if this were displayed in the report (useful when
   there are a a lot of templates filled in a single request)

I agree, and I actually thought of it, only after I had uploaded this dist. It will help a lot though.

 * the Timing module could register its own cgiapp hook - something like
   'devpopup_timings'.  Then the user could log the timing of critical
   points in the app by calling (e.g.):

       $self->call_hook('devpopup_timings', 'Before database call');
       do_some_expensive_db_stuff();
       $self->call_hook('devpopup_timings', 'After database call');

Excellent suggestion! I was already deploring the lack of an after_prerun and such; the current list isn't exactly detailed. An extra hook will be wonderful indeed! And that way I don't even have to export anything, which is even better.

This will definitely be in 0.02 :)

Great work!

Thanks for the great reception!

Rhesa

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




<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