Hi Johannes,

On 25 March 2013 07:57, Johannes Schlüter <[email protected]> wrote:
> On Sun, 2013-03-24 at 20:59 -0300, Cesar D. Rodas wrote:
>>
>> > I think there is a term "resource" which is misunderstood, as what
>> you
>> > mean by that is the Resource class. PHP resource type is something
>> else.
>>
>> I register a new resource type, anyway is not a bad idea to wrap
>> resources inside classes/objects.
>
> Using resources is bad.
> They are inefficient legacy from older versions. Internal classes are in
> many ways better.

Thanks for the advice, I'll change resources to classes somehow.

> That aside: Both aren't really meant to be used on a per-request basis
> and I don't think anybody really has done that.
>
> I think you should provide an relatively generic resource class.
>
> johannes
>
>
>
>



--
Cesar D. Rodas
Open source developer
http://cesarrodas.com/
Phone: +595-983-161-124

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

Reply via email to