Justin wrote:
"Bruno Desthuilliers" <bd***********@removeme.free.fr> wrote in message
news:3f*********************@news.free.fr...
Hello,
Has someone here used the PEAR error handling mechanism, and how useful
did he/her found it ?
I'm a bit newbie with PHP (not with programming...) and currently
working on a small OO framework, I find the lack of an exception
mechanism a bit disturbing, so I wonder how to implement a good error
handling. So any sound advice is welcome !-)
TIA
I've found it to be very useful along with the PEAR logging module.
Check this article out:
http://www.zend.com/zend/tut/tutorial-eckhouse.php
Lol ! It's that article that made me post this question !-)
Good article BTW, but I wonder if PEAR error handling is not a bit
overcomplicated (sorry, I'm used to Python's exceptions...). Hence my
post...
But well, I guess that whatever I'd make on my own would probably end up
at least equally complex.
Bruno