Re: Re: Request for Interfaces

From: Date: Wed, 24 Apr 2002 20:33:47 +0000
Subject: Re: Re: Request for Interfaces
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83279@lists.php.net to get a copy of this message
On 24/04/02, "Harald Radi" <harald.radi@nme.at> wrote: > are these interfaces only meant to be applied to resources or are they > appliable to zend_class_entries as well ? this would be what i need. My original intention was only for resources, although I can see that it would be equally (perhaps even more) useful for objects. It could be applied to a zend_class_entry, but that would mean adding a field for that purpose; I wanted to avoid making changes to the ZE as I didn't rate my chances at getting this sort of thing in there :-) I think it would just be a case of adding a pointer to the interface "template" that I described in the RFC. If the general consensus is that this interface layer should be in the ZE and should work for both resources and class entries, then I'd be happy to go for it. Any comments Andi? > nice work. +1 Thanks :-) --Wez. PS: For the sake of people that might not have fully read my RFC, I'd like to stress that the intention is NOT to provide interfaces for your classes/objects in PHP scripts, it is to provide extension code with an optional light-weight interoperability/reuse framework.

« previous php.dev (#83279) next »