[PEPr] Comment on XMPP::JAXL
| From: | Christian Weiske | Date: | Tue, 04 Jan 2011 15:50:25 +0000 |
| Subject: | [PEPr] Comment on XMPP::JAXL | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53934@lists.php.net to get a copy of this message | ||
Not completely.
First, please remember that _ in class names get converted to directories
in the file name according to the PEAR coding standards: A class
"Console_CommandLine_Option" has the file name
"Console/CommandLine/Option.php" and gets installed into
"/path/to/pear-config-php_dir/Console/CommandLine/Option.php".
Second, the new classes are the one with code, not the compabitility ones.
Example:
- The old class name "JAXL0045" will get renamed to Net_XMPP_XEP_45 (or
_0045)
- The file will be"/path/to/pear-config-php_dir/Net/XMPP/XEP/45.php"
- To provide backwards compatibility with the old jaxl class style, a dummy
class JAXL0045 exists that extends Net_XMPP_XEP_45 and gets installed in
/path/to/pear-config-data_dir/jaxl/compatibility/xep/jaxl.0045.php
- Users are encouraged to use the new style classes, but may use the
compatibility classes for old projects
I'll try to fork your github project and make some exemplary changes so you
can understand my comments better within two days.
--
http://pear.php.net/pepr/pepr-proposal-show.php?id=635