RE: [Zend Engine 2] Re: [PHP-DEV] API Thoughts?

From: Date: Mon, 27 Aug 2001 09:34:59 +0000
Subject: RE: [Zend Engine 2] Re: [PHP-DEV] API Thoughts?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64382@lists.php.net to get a copy of this message
uups, i wanted to post this to the dev-list. > -----Original Message----- > From: Harald Radi [mailto:harald.radi@nme.at] > Sent: Monday, August 27, 2001 11:33 AM > To: sterling@designmultimedia.com; engine2@lists.zend.com > Subject: [Zend Engine 2] Re: [PHP-DEV] API Thoughts? > > > > I'd prefer to code the OO wrapper in > > PHP -- it stops me from having to be aware of changes > to the Zend > OO > > model and writing code that works with both the functional > interface > > and the OO interface (some form of automatic handling of this > would > > be a very cool/useful feature for Zend, imho). > > writing an oo wrapper for your functional interface in c > won't be a big deal and other extensions would benefit from > it as they could return adt-types in a oo way which they > can't with your attempt. they would have to create a PEAR > wrapper around the existing resource they get, which looks > quite messy. > > if the only reason against this is, that you don't wan't to > deal with zends oo api, i'd write a lean wrapper for your > functions as it is really no work. > > harald. > > ps.: this would be another reason for your first suggestion, > as only tree_insert(), tree_remove(), .. need to be wrapped > and not all those avl_*(), rb_*(), .. > >

« previous php.dev (#64382) next »