Re: PHP-Gtk2 and Reflection

From: Date: Tue, 10 May 2005 17:02:02 +0000
Subject: Re: PHP-Gtk2 and Reflection
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1258@lists.php.net to get a copy of this message
Hi Andrei, > describe the types and names of parameters. I have not implemented this > as it would increase the size of the generated files even more. Is this > really necessary? IMO yes; for what are the reflection functions for? If nobody supports it, it isn't useful. For example, I love the Java Reflection API - once I built a tool similar to glade, but in Java - and the main work was doing some reflection, and *every* bean could be used with my program. If some bean authors would have decided (in Java you can't, but imagine) that they didn't want it, Reflection would be pretty useless. Sometimes it works, sometimes not. > I understand that it's very cool to be able to browse > the methods and see their parameters, but I guarantee you that it will > adversely affect the build time of PHP-GTK. As we (?) don't compile PHP-Gtk every 10 minutes, this would be ok. A small configure switch could turn it off if wished by the user, but by default it should be activated. Maybe I can help with that; is there some documentation about that stuff? Regards/MfG, Christian Weiske -- XMMS is playing now: Sarah Connor - Sweet Thang

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.gtk.dev (#1258) next »