By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,968 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,968 IT Pros & Developers. It's quick & easy.

PEAR::Error ? Or else ?

P: n/a
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
Bruno

Jul 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

- Justin

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

Jul 16 '05 #2

P: n/a
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

Jul 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.