do a easy migration from PEAR/Net_Growl 2 to PEAR2/Net_Growl 3
| From: | Laurent Laville | Date: | Wed, 04 Apr 2012 14:52:52 +0000 |
| Subject: | do a easy migration from PEAR/Net_Growl 2 to PEAR2/Net_Growl 3 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-54893@lists.php.net to get a copy of this message | ||
Hi everyone,
To reduce the count of options that are not really necessary, and to adopt the same principles as PEAR2/Net_Growl [1].
The new version 2.6.0 of PEAR/Net_Growl [2] will :
- do not used anymore the *port* option (automatically set to 23053 for GNTP, and 9887 for UDP), depending of the protocol used (see below).
- protocol *tcp* will be move to *gntp* to be more friendly in the way to adopt the connectors (adapters) of PEAR2/Net_Growl.
- protocol *udp* will of course keep its name.
- add a *publish* method, aliase of *notify* method, to be sure that code is forward compatible with PEAR2/Net_Growl
You can upgrade your version without trouble, because I'll keep the code backward compatible with previous version 2.5.2
Consider 2.6.0 an easy step to use the future PEAR2/Net_Growl (if you want).
Regards
Laurent Laville
[1] http://growl.laurent-laville.org/v3/site/
[2] http://pear.php.net/package/Net_Growl