[PEPr] Comment on Networking::Net_SMS

From: Date: Fri, 23 Apr 2004 08:27:29 +0000
Subject: [PEPr] Comment on Networking::Net_SMS
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28279@lists.php.net to get a copy of this message
Marko Djukic (http://pear.php.net/user/mdjukic) has commented on the proposal for Networking::Net_SMS. Comment: Some combined responses to the above: - ok, putting the PEAR.php inclusion in SMS.php - gettext - tough to do without it. The messages are essential to the end user. Without it they either a) end up with the send errors/status only in english or b) each implementation would have to jump hoops to get them localised. I'm using these in Italy so I've seen the significance of getting back meaningful localised messages to the end user. It can always be overcome by including a dummy gettext function for those that don't have it, and resulting in english only messages. - getGatewayInfo/getGatewayParams are more than convenience, without them one would have to build an API to the API. Most gateways have significant varyiations in the level of capabilities and passable parameters. Having the drivers themselves handle their reporting allows for implementations to be very flexible. For example in Swoosh it is a snap to set up of several instances of the same gateway for different tasks/users. Passing this burden on to the implementation would seem like a bigger disadvantage compared to 20-30 lines of code in the driver. - Typos ok thanks. Fixing them right now in the CVS. - Driver names, sure. Renaming them would be fine. The transport would definately be needed. Clickatel has something like 5-6 different transports and I'd like to include a couple of them at least. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=59 -- Sent by PEPr, the automatic proposal system at http://pear.php.net

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