Re: Re: [PEPr] -1 for XML::XML_RPC2
| From: | Sergio Carvalho | Date: | Thu, 12 May 2005 04:54:08 +0000 |
| Subject: | Re: Re: [PEPr] -1 for XML::XML_RPC2 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev php.pear.dev |
| Request: | Send a blank email to pear-dev+get-37583@lists.php.net to get a copy of this message | ||
Davey Shafik wrote:
> Sergio Carvalho wrote:
>
>> Helgi Þormar wrote:
>>
>>> First using CURL really defeats the purpose of trying to create
>>> something that could be used by future PEAR versions (given they need
>>> xml rpc stuff) since CURL isn't installed by default and I really doubt
>>> anyone wants to make people have CURL installed to use PEAR, anyway that
>>> can be resolved with writing a backend.
>>
>>
>>
>> You either:
>> 1) Use cURL
>> 2) Write your own 'lightweight curl'
>> 3) Use the xmlrpc extension
>>
>> I opted for 1). Another backend should go for 3). 2) isn't really very
>> elegant.
>>
>
> <snip />
>
> We already have two packages in PEAR that you should be using instead
> HTTP_Client and HTTP_Request.
No we don't. These are PHP4 packages. Neither is E_STRICT compliant.
Moreover, HTTP_Client is pretty barebones (no auth, no https
certificates). HTTP_Request lacks only https certificate handling, but
moving it to PHP5 is much more work than writing the dozen or so lines
of cURL code XML_RPC2 needs.
>
> - Davey