Page 1 of 1

PHP-GTK

Posted: Sun Aug 08, 2004 6:06 pm
by jeppe
Hi,
After bumping into this weired acronym (gtk.php.net) a couple of times, I decided to dig into it. I've found out that GTK is a cross-platform-language (or collection of classes) to make graphical interfaces. Ok. So with php it is something like java, right? Now, to run a javaapp you have to install java first (which means that people on computers they are not in control of, can't run your app). My question then is: Does the user have to install gtk-libaries or something before running a php-gtk-app? Or could they just download my app and run it? Or... I would like to know before spending more time on this interesting new tool... Thanks in advance...

Posted: Sun Aug 08, 2004 6:51 pm
by timvw
All the gtk programs i've used untill now (not php related) required me to have gtk libs. Nowadays, there is even a nice installer for windooze. But in the end, it would be possible to statically link the libs and end up with one big binary. Now, i haven't seen much options to generate binary code from php. So people would still need a php interpreter.

Btw, with gjc (from the gnu gcc suite) you can generate native binary code instead of java bytecode.