On 5 February 2013 09:08, Bruno CHALOPIN <br...@chalopin.fr> wrote:
> Hi,
>
> Le Mon, 04 Feb 2013 13:25:36 +0100, Michael Wallner a écrit :
>> First, I'd like to release two supplementary extensions,
>> which were split off of pecl_http-v2 to be able to reuse it in other
>> extensions:
>
> I suppose they will be mandatory to make pecl_http-v2 to work ? Will pecl
> install these dependancies automaticaly ?

Yep and yep. PEAR's package.xml has dependencies support.

>
>> Resource and persistent handle factory
>> https://bitbucket.org/mike_php_net/ext-raphf Unified API for custom
>> persistent and non-persistent resources/connections.
>
> Can you provide a php code example of what it does ? There's no test
> files and I don't see exactly what it does.

This is actually for internal usage only and exports just 2 functions
to userland a cleanup routine, raphf\clean_persistent_handles(), and
a stat routine raphf\stat_persistent_handles().

It's used to create the connection handles of pecl/http and pecl/pq.

>> Property proxy:
>> https://bitbucket.org/mike_php_net/ext-propro Access virtual object
>> properties by reference and/or array key/index.
>
> Doesn't it go "against" the getter/setter rfc proposal ? (https://
> wiki.php.net/rfc/propertygetsetsyntax-v1.2) Sure, not accepted yet but I
> hope one day ;-)

Does it? I don't know... It's again primarily for internal usage like
returning a reference to an virtual property of an internal class'
object which is buried in some C struct or only accessible through a
function call.

You can see it in action here:
http://svn.php.net/viewvc/pecl/http/branches/DEV_2/php_http_message.c?view=markup#l1085
and what it does:
http://svn.php.net/viewvc/pecl/http/branches/DEV_2/tests/propertyproxy001.phpt?view=markup


>> I'd also like to release a new libpq binding through PECL:
>> https://bitbucket.org/mike_php_net/ext-pq
>
> Isn't already there a libpq implementation in ext (http://www.php.net/
> manual/en/ref.pgsql.php) and also a pdo_connector ? What are the benefits
> this new binding ?

Right and right ;)  No obvious benefits, just serious fun.



-- 
Regards,
Mike

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to