Re: re: PHP-GNOME part 1 is here!

From: Date: Wed, 27 Sep 2006 16:16:09 +0000
Subject: Re: re: PHP-GNOME part 1 is here!
References: 1 2 3  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-3438@lists.php.net to get a copy of this message
Andrei Zmievski wrote:
On Sep 27, 2006, at 5:06 AM, Anant Narayanan wrote:
Alternatively, we can offer two versions of PHP-GTK 2: one that builds against 2.6 and another one that builds against 2.8/2.10.
Or we can try to figure out a way that supports 2.6, 2.8, and 2.10. It may be #ifdef hell though.
That would be difficult for writing applications and for documentation. You'd have to have all sort of if statements to check if stuff is available on the user's machine and include features as available. We'd also have to add something to the docs to say not only what version of PHP-GTK the feature exists in but also what version of Gtk+ is needed. Why not just update the version of Gtk+ and the minor version of PHP-GTK at the same time? PHP-GTK 2.0 = Gtk+2.6, PHP-GTK 2.1 = Gtk+2.10 (or what ever is stable when we get there) You may still have some conditionals based on the PHP-GTK version but differences will be based on PHP-GTK version and not the user's Gtk+ version. Scott

« previous php.gtk.dev (#3438) next »