Re: Any chance for a gtk-php adaption to libgtk2
| From: | Steph | Date: | Wed, 03 Sep 2003 03:16:55 +0000 |
| Subject: | Re: Any chance for a gtk-php adaption to libgtk2 | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3788@lists.php.net to get a copy of this message | ||
>>>If you were faced with two oncoming trains, which would you rather
jump
> >>under?
> >
> > Do you mean that since PHP5 is further away it is safer to do this
port
> > first?
>
> Otherwise it would probably be 2 ports instead of one. If porting
> directly fot the PHP5 release and libgtk2 he probably only needs
> to port once. Quite understandable.
>
GTK 1.2.*/1.3(win) is not like GTK 2.0 internally. The way object
properties are dealt with changed completely between those major
releases, the way internationalization is dealt with has changed, the
reliance on imlib has turned over to a reliance on gdkpixbuf, the way
platform portability is approached has been completely restructured -
and that's just a few of the changes that stand out to a casual
observer.
PHP 5 is not like PHP 4 in the way that it deals with objects, even at
this stage. That's fairly crucial to the future of PHP-GTK.
There were always going to be '2 ports instead of one'. Both PHP and
GTK are rapidly-moving targets this year. As for GTK 2's stability,
that is very much a recent notion :) so there was never any idea of
attempting to bind GTK 2 to PHP 4. It would've meant using a version of
PHP out of the archives just to build PHP-GTK, by the time that
combination was considered stable. You may argue that we're currently
using a version of GTK that belongs in the archives as things are, but
please remember that this is a PHP extension. Andrei, Alan and Frank
have done a great job of keeping up with the Zend Engine changes so that
we still have working GTK bindings at all in PHP 5.
There is movement now towards PHP-GTK 2 development - mostly from Alan
at present -, and all of it is based (quite rightly) on PHP 5.
Hope that makes sense.
- Steph
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>