[PEPr] +1 for Networking::Net_MPD

From: Date: Mon, 07 Aug 2006 15:33:36 +0000
Subject: [PEPr] +1 for Networking::Net_MPD
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43647@lists.php.net to get a copy of this message
Justin Patrin (http://pear.php.net/user/justinpatrin) has voted +1 on the proposal for Networking::Net_MPD. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=429 Vote information: http://pear.php.net/pepr/pepr-vote-show.php?id=429&handle=justinpatrin This vote is conditional. The condition is: I think that this would be great to have in PEAR. I use mpd myself and love it. I agree with Christian's comments. dirname(__FILE__) should never be used for including files. Include files properly via the include_path. (is_file isn't necessarily needed.) I suggest another class_exists after including the file. Static properties shouldn't be used for connection properties. This precludes connecting to 2 MPD instances in the same script at the same time. A PEAR error handling scheme should be used for errors. Since this is PHP5 code PEAR_Exception should be used. If you really want to collect errors instead use PEAR_ErrorStack. The indentation seems very odd, please check and conform to the PEAR CS requirements. -- Sent by PEPr, the automatic proposal system at http://pear.php.net

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