Search the web
Sign In
New User? Sign Up
errorhandler · PHP - ErrorHandler
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
project status   Message List  
Reply | Forward Message #56 of 90 |
Re: [errorhandler] project status

Colleen Dick írta:
> I also stalled out on using this, just because the doc was so old and did
> not match what I was seeing. It really looks like it would be a nice
> package if it had a little usability enginnerring, internals doc and was
> brought up to at least php 4.2

Sorry for the inconvenience once again.

BTW, if there are so many impressed men out there what is missing to become
volunteers? ;)
I attached what was in my mind for 6 or 7 months, where to move on: a TODO list.

Well, I think that it is not so big magic to understand what happens behind the
scenes, but I must admit that working without docs is very painful. I
experienced it in my new work, but that is another story and nothing to do with
PHP.

Colleen,

you said you stalled. Does it mean that you had used it some day with success?
If so, have you still got those sources to make a so called 'How-To'?

And a last question: what type of documentation would be the most useful?

- class reference (with property and method descriptions)
- tutorials
- how-tos

I know that all is needed, of course, but please make priorities.


Gyozo Papp


Fri Feb 6, 2004 6:05 am

gerzson17
Offline Offline
Send Email Send Email

ErrorHandler TODO:

- session support and per-session debugging
(as set_error_handler now supports object callbacks it will be easier)

- documentation
(it's quite self-explanatory, we are lack of any good documentation now)

- tokenizer => revamped SOURCE report:
* opening and closing PHP tags
* new block mode (no need to parse with regexps)
* new highlight source with the use of CSS
? variable values in tooltips
=> affect on CONTEXT mode (finding variable variables)

- allow different 'step-in' error-levels
* per files and directories or even
* per programming elements(classes,objects,functions) using debug_backtrace
The meaning of 'step-in' is similar to the global LEVEL settings, but by
introducing this feature this setting can be varied from file to file, for
example. LEVEL directs ErrorHandler what type of errors to handle or to
ignore.
Several third-party packages presume the error_level .ini settings
excludeing E_NOTICE (E_ALL & ~E_NOTICE). Thus using them in an environment
where error_level is set to E_ALL, lots of annoying error messages are
thrown and presented to you, though you (including me) are commonly unlikely
to fix bugs in a 3rd party library. Then why brothering us with useless
error reports?

- assertion_failed() callback which handles errors fired by failed assertions.

- clarify any issue with assert()'s

- allow print_r() instead of built-in _sprint_var in CONTEXT report
(similar to var_export() )



Features from other sources
~~~~~~~~~~~~~~~~~~~~~~~~~~~
errorReporter from Dan Allen (www.mojavelinux.com/forum/viewtopic.php?t=51)
1. "exclude class" not only variables
(do not dump smarty, ADODB, etc.)
2. weep out repeated errors
(regarding to the PHP .ini settings responsible for the same thing)
3. customizable console window look'n feel (css)
4. click-on-bomb instead of automatically pop-up (choosable from .ini)

http://dev.izibox.isa-geek.org/NiceDebug/example.php
("David JL" <izi@...>)
1. CONTEXT report layout may be replaced with a floating windows on demand
3 layouts: raw, floating, [maybe embedded in SOURCE]??? -- I forgot it.


Questions
~~~~~~~~~
1. registering custom errorhandler would happen in constructor only,
not when including the script
2. there is an ini setting to ignore the repeated errors,
but does it affect custom error handling?
3. set() renamed to set_level() to lighten load_ini() and other methods


Upgrading to the latest PHP (4.3.0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- revise ob functions neccessity
+ version_compare instead of phpversion
- array functions
- replace $HTTP_*_VARS with $_* superglobals
- debug_backtrace (there is a backport available for 4.2.0)
- possible use of new functions exchanging complex code blocks
- ready to use with session
+ set_error_handler supports object callback


Forward
Message #56 of 90 |
Expand Messages Author Sort by Date

Hi, I just discovered ErrorHandler while researching ways to upgrade my existing errorhandling setup. I am very impressed. I wanted to know if any more work...
culleyharrelson
Offline Send Email
Feb 5, 2004
5:40 pm

... Just in theory. Actually, it's almost dead, though I am very happy if any one wants to help me out to continue with this project. I'm using errorhandler in...
Papp Gyz
gerzson17
Offline Send Email
Feb 5, 2004
8:54 pm

... if any one wants to help me out to continue with this project. I'm using errorhandler in my job, but the package maintaining is stalled. There are some...
culleyharrelson
Offline Send Email
Feb 5, 2004
11:27 pm

I also stalled out on using this, just because the doc was so old and did not match what I was seeing. It really looks like it would be a nice package if it...
Colleen Dick
napiobai
Offline Send Email
Feb 6, 2004
12:30 am

... Sorry for the inconvenience once again. BTW, if there are so many impressed men out there what is missing to become volunteers? ;) I attached what was in...
Papp Győző
gerzson17
Offline Send Email
Feb 6, 2004
6:05 am

Thanks for the todo. well maybe I can do some of this work if no one else is....
Colleen Dick
napiobai
Offline Send Email
Feb 6, 2004
8:46 pm

... That would be much more than I have ever dreamed about. :) I'm currently doing some 'proof of concept'-like testing on the new source code extractor which...
Papp Győző
gerzson17
Offline Send Email
Feb 6, 2004
9:07 pm

OK here is what is.. I am very busy until the end of this month. Also another PHP 5 Beta just came out. After this month I am building a new PHP. I will make...
Colleen Dick
napiobai
Offline Send Email
Feb 13, 2004
8:39 pm

OK, it will be awesome. It should be a shame but I haven't checked the error handling capabilities of the new Zend Engine yet, so I know this area very little....
gerzson17
Offline Send Email
Feb 14, 2004
8:45 am

You mentioned this is almost dead but you also mentioned that you use this at your job. I take it that the latest version available is production quality? Is...
laidbak6921
Offline Send Email
Dec 24, 2004
3:31 pm

welcome aboard! Yes, it is still almost dead apart from starting a rewrite for PHP 4.3.x to my latest work. I'll be glad any participation and contribution....
Papp Győző
gerzson17
Offline Send Email
Dec 25, 2004
11:28 pm

Gyozo, I tried your errorhandler class and am extremely impressed! Although I don't have much programming experience, I could tell that this is a quality...
tomsoyer_php
Offline Send Email
Jan 30, 2005
5:17 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help