[Tiki-devel] Port XML/RPC code to a maintained equivalent.
Domeshow Emmanuel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <CABdF9VjPkqUCLxyW09FgSG3UPcQHoyJPCZMYDw4hpDytScaZMw@mail.gmail.com> |
Greetings! We are forced to replace the pear/xml_rpc package because the limitations become visible in tiki26 which already uses php8.1 as the minimum version of PHP because it is not maintained and does not support this new version of PHP. XML RPC support in tiki (it's more than one feature) isn't something we want to drop. While the status of the various features is uncertain, interacting with other generic systems is at the core of what tiki does, and XML RPC is a protocol that is still used in the wild. Pear XML_RPC (the original) is not even on Packagist: https://packagist.org/packages/pear/xml_rpc https://pear.php.net/package/XML_RPC https://pear.php.net/package/XML_RPC2 https://github.com/pear/XML_RPC/tree/tags/RELEASE_1_5_5 https://github.com/pear/XML_RPC2 There are modern options here https://packagist.org/?query=xml%20RPC and after much analysis I chose the package gggeek/phpxmlrpc for many reasons. gggeek/phpxmlrpc is a PHP library for building XML-RPC clients and servers that supports PHP 5.4 and above. Here are the reasons I found that led me to choose it: - It supports php8 - It has ease of installation using Composer - It has ease of use: gggeek/phpxmlrpc and PHP's native XML-RPC functions have a higher level API that abstracts the details of XML-RPC encoding and decoding - It is well documented: https://github.com/gggeek/phpxmlrpc/blob/master/doc/manual/phpxmlrpc_manual.adoc - It has similarity to pear/xml_rpc which is used for now - It offers more features: gggeek/phpxmlrpc has more features than pear/XML_RPC, such as HTTP 1.1 support, multicall, cookies, compression, SSL, proxies, etc. - And finally, it is updated regularly. Last commit is 3 months ago. By this mail please help me in the choice knowing that I tested and I am convinced of the latter. Thanks! _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel