[PEPr] Comment on XMPP::JAXL
| From: | Abhinav Singh | Date: | Tue, 04 Jan 2011 15:34:32 +0000 |
| Subject: | [PEPr] Comment on XMPP::JAXL | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53933@lists.php.net to get a copy of this message | ||
Christian this ofcourse seems like a good solution. Here are what i
understand the procedure will be.
1) I understand that downloaded pear package will be installed under
folder
/path/to/pear/net_xmpp/
2) Following 4 folders will be found inside:
/path/to/pear/net_xmpp/xep/
Contains dummy files like 0045.php, 0060.php etc
/path/to/pear/net_xmpp/core/
Contains dummy files like util.php, parser.php etc
/path/to/pear/net_xmpp/xmpp/
Contains dummy files like get.php, send.php etc
/path/to/pear/net_xmpp/jaxl/
Contains the compatibility files as found in current public release of jaxl
library
PS: By dummy files we mean they only have something class declaration
like:
class NET_XMPP_XEP_0045 {}
3) Each class inside compatibility folder will extend dummy file classes
e.g.
class JAXL extends NET_XMPP_CORE_JAXL.php {
// contains original library source code compatible with PEAR
coding standards
}
4) Finally users can write xmpp apps just by doing:
require_once '/path/to/pear/net_xmpp/jaxl/jaxl.class.php
Kindly let me know and i will be happy to have something like this ready.
--
http://pear.php.net/pepr/pepr-proposal-show.php?id=635