uups, i wanted to post this to the dev-list. > -----Original Message----- > From: Harald Radi [mailto:[EMAIL PROTECTED]] > Sent: Monday, August 27, 2001 11:33 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > 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_*(), .. > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]