Re: [PROPOSAL] Package: SMS (send and recieve SMS throughconnected cellular device)

From: Date: Thu, 23 Oct 2003 06:39:51 +0000
Subject: Re: [PROPOSAL] Package: SMS (send and recieve SMS throughconnected cellular device)
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22927@lists.php.net to get a copy of this message
I think I could've made that working on my own to. ;) But nevertheless, those webform things do not have all the features I need. Beside that: On my way to work I was just thinking about the factory pattern we concidered to implement for SMS. The idea is quite cool, but the features of the backend classes wil widly vary. So, how would you propose to deal with that?
make the base class an abstract/factory - and just return PEAR::raiseError('Not supported'); by default.. from what I remember most of them do: = construct 'driver', options username/password/callcenter/from_number - send sms - send multimedia sms???? - get sms messages of the top of my head.. I cant think of what else you would do with it Regards alan
Regards, Toby
-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.com

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