PHP-GTK

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
jeppe
Forum Newbie
Posts: 6
Joined: Sat Mar 29, 2003 3:05 pm

PHP-GTK

Post 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...
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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.
Post Reply