[HTML_Progress] without PEAR_ErrorStack and Log
| From: | Laurent Laville | Date: | Wed, 04 Aug 2004 21:53:58 +0000 |
| Subject: | [HTML_Progress] without PEAR_ErrorStack and Log | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-32444@lists.php.net to get a copy of this message | ||
Hi PEARs,
As i want to continue development of HTML_Progress and begin a new 1.3.0, i'm stopped by a
little difficulty.
HTML_Progress 1.2.0RC3 is still in beta because i've used PEAR_ErrorStack.
I like PEAR_ErrorStack , but i also want to continue to integrate my new stuff.
As i've already told it, i prepare a version that could be use without PEAR (for non PEAR
users; i know many of them).
So i've decided to rewrite a bit of code to manage error with standard PEAR_Error but also a
custom error handler.
I hope Greg will be agree with me if i've pick part of his ideas on PEAR_ErrorStack to include
it into HTML_Progress.
See source code (in attachment) Take care that this version is still in beta tests even if it's
compatible with 1.2.0RC3
You can find the first 6 part of my examples series at URL :
http://pear.laurent-laville.org/HTML_Progress/examples/errorstack/display_errors-p1.html
http://pear.laurent-laville.org/HTML_Progress/examples/errorstack/display_errors-p2.html
http://pear.laurent-laville.org/HTML_Progress/examples/errorstack/display_errors-p3.html
http://pear.laurent-laville.org/HTML_Progress/examples/errorstack/display_errors-p4.html
http://pear.laurent-laville.org/HTML_Progress/examples/errorstack/display_errors-p5.html
http://pear.laurent-laville.org/HTML_Progress/examples/errorstack/display_errors-p6.html
many others will come soon; especially in case of composite handlers such as (display + file ).
In resume, i've let down usage of PEAR_ErrorStack (until it come to stable state)
and enhance version of Log:display driver. I hope Greg and Jon will understand my point of view.
If you want to post your opinion or help me to test the new version, feel free to contact me.
Laurent Laville