PDA

View Full Version : Php Gtk


Michiel
08-11-2003, 08:47 AM
Hi,

while browsing the internet I just found out about PHP-GTK. I've checked out the official website and some tutorials on PHP GTK, but I'm still left with a basic question, that I'd like to have answered before I start with PHP GTK.

I learn that PHP GTK is an extension of PHP using the Gimp Toolkit, to create GUI, clientside apps. Now I was wondering, when I finish my application, does a user need to have php installed to use the application? Or is this embedded in the application? I want to know this because my target audiance is not likely to have php installed on their machine. Therefore I want to know how PHP GTK application can be used in every day situations.

I hope someone can help me on this!

Thanx in advance,

-Michiel

Ökii
08-11-2003, 09:17 AM
In general a php environment would be best for running a gtk application, though there are ways around that.

http://www.firepages.com.au/forum/index.php?act=ST&f=5&t=109&

mentions a distro of around 2MB for creating a gtk environment on client machines (similar I 'spose to having to install a JRE for java).

hopefully some progression in this area will be made sometime soon.

Michiel
08-11-2003, 09:49 AM
So php-gtk doesn't create an executable, like say Delphi would do? A user needs to instal GTK-dev and call the script manualy via the script launcher, correct?

Thanx for your reply, Michiel

firepages
08-12-2003, 06:22 AM
as Okii says you currently need PHP running on the host computer in one form or another.

It is now possible to build compiled php-gtk applications though its currently more trouble than its worth , though I would expect that within the next few months you will see usable solutions popping up (see the bcompiler at http://pear.php.net) , also the embed.sapi holds promise for true standalone php applications though currently this means a minimum size of about 1.5MB compressed for any such app and access to a .

remember you can always use the Zend encoder (http://www.zend.com) or similar products to encode your php code if you wish.