Re: [PEPr] Comment on Networking::GeoIP

From: Date: Wed, 16 Jun 2004 03:52:05 +0000
Subject: Re: [PEPr] Comment on Networking::GeoIP
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30711@lists.php.net to get a copy of this message
PEPr wrote:
Alan Knowles (http://pear.php.net/user/alan_k) has commented on the proposal for Networking::GeoIP. Comment: This does raise a few questions (a little unrelated to the package) Is it highly reusable if a) it forces you to use PHP5 Yes, because you can use this package in the Zend PHP5 Contest :) I say, if you want a PHP4 version use the existing Maxmind code.
b) it forces you to use exceptions IMO this is asking a whoooole lot less than forcing you to use PEAR_Error. Exception is built into the language. This class does not depend on anything from the PEAR framework.
Makes me wonder if we should use .php5 for php5 only code? - that way if someone wants to implement a php4 version of the same package it would be feasible, without having to have multiple packages. (or visa-versa) use .php4 for php4 compatible code in a php5 focused package).. Well, I do think that there needs to be some sort of channel-like system for the PHP5 stuff. Maybe as simple as extensions. People are gonna want to use PHP5-only classes. I certainly do.
Hans

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