[PEPr] Comment on PEAR::PEAR_ErrorLayer

From: Date: Sun, 21 Nov 2004 09:26:04 +0000
Subject: [PEPr] Comment on PEAR::PEAR_ErrorLayer
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34460@lists.php.net to get a copy of this message
Laurent Laville (http://pear.php.net/user/farell) has commented on the proposal for PEAR::PEAR_ErrorLayer. Comment: Hi Daniel, Do you undertood/read my explains about goals of ErrorLayer: i don't think so. This proposal is not another error package. I consider that error packages are PEAR (base class) and PEAR_ErrorStack. PEAR_ErrorLayer as main goal to be only a error handler wrapper, and swap easily from one to the other, in few config. Generic driver included is only a example application: i shouldn't have to put it in this package : it was an error; i know now. I think that PEAR_ErrorLayer should be considered as an EAL (Error Abstraction Layer). Something like DB and MDB are for RDBMS. One last goal i've not explains, clear enough is : - avoid to load an error package each time we load your own package. PEAR and PEAR_ErrorStack are equivalent in this point: you've to load/parse something like 30kb. Even if i add comment to this alpha code i should obtains only 10kb to load, AND ONLY when an error occurs NOT ALWAYS. I hope now my explains are now more efficiency. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=176 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

« previous php.pear.dev (#34460) next »