[PEPr] Comment on File Formats::File_MARC

From: Date: Sat, 16 Sep 2006 16:41:43 +0000
Subject: [PEPr] Comment on File Formats::File_MARC
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43962@lists.php.net to get a copy of this message
Dan Scott (http://pear.php.net/user/dbs) has commented on the proposal for File Formats::File_MARC. Comment: Christian: Thanks for the comments! a, b, c) Most of these issues arise largely due to my use of (and undoubtedly my lack of understanding of) PEAR_Errorstack, based on how I have seen other packages implement error-handling with PEAR_Errorstack. For example, I have not yet been able to figure out how to use message templates with a singleton (http://pear.php.net/manual/en/core.pear.pear-errorstack.seterrormessagetemplate.php notes that setErrorMessage() cannot be called statically). At this point, I plan to revise the package to use PEAR_Exception (conforming with the RFC for error-handling in PHP 5 packages) before going stable; these issues will probably go away when I make that switch. I will turn some of the currently defined global constants into class constants (e.g. FILE_MARC_LEADER_LEN) in the next iteration of this package. But the error codes will remain global constants until I finalize the error-handling for the package. d) The reference thing was a bit of a hangover from when I first started developing this package. I had thought about creating a PHP 4/5 compatible package, but have since decided to make it a pure PHP 5 package instead. I have now removed all of the extraneous references from this package -- thanks! Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=443 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

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