[PEPr] Comment on XMPP::JAXL
| From: | Christian Weiske | Date: | Fri, 31 Dec 2010 10:29:09 +0000 |
| Subject: | [PEPr] Comment on XMPP::JAXL | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53927@lists.php.net to get a copy of this message | ||
BC = backwards compatibility
You can include that "compatibility" folder with your pear package, that's
no problem.
I suggest giving it - and its files - the "data" role to not tainting the
include path with old style files:
Example:
file data/compatibility/JAXL0045.php
<?php class JAXL0045 extends Net_XMPP_XEP_0045 {} ?>
Users would require_once the
> /path/to/pear/data/net_xmpp/compatibility/jaxl.class.php
As you see from the class name, I also suggest that you name the package
Net_XMPP - it implements a network protocol, XMPP - all packages in PEAR
currently have that naming scheme. Does that seem ok for you?
--
http://pear.php.net/pepr/pepr-proposal-show.php?id=635