PHP Programming Language - Cultural View

PHP Programming Language - Cultural View PHP Programming Language - Cultural View

culturalview.com
from culturalview.com More from this publisher
10.02.2013 Views

PHP-GTK 208 Example Screenshot of the example The sample PHP-GTK 2 program instantiates a GtkWindow widget with the title "Hello World!", containing a GtkButton labelled "Click Me." When the button is pressed, the message "Hello again - The button was pressed!" is displayed on the console via the callback pressed. Deployment Several tools have sprung up that assist the simple deployment of PHP-GTK applications. PHP compilers such as PriadoBlender [3] and Roadsend PHP (Currently only compatible with PHP-GTK 1) enable the compilation of applications written in PHP-GTK to a standalone binary executable. Alan Knowles' PECL package, bcompiler [4] , also allows compilation of PHP into bytecode to hide the source code. Gnope [5] is a tool providing a straightforward means of deployment under Windows. It allows transparent installation of PHP-GTK 2, and applications written using it, through Gnope's own PEAR-compatible channel.

PHP-GTK 209 External links • Official website [6] • Community site [7] • Brazilian community site [8] (Portuguese) References [1] http://freshmeat.net/projects/libgtkhtml/ [2] Mattocks, Scott. Pro PHP-GTK. ISBN 1-59059-613-7. [3] http://www.priadoblender.com [4] http://pecl.php.net/package/bcompiler [5] http://www.gnope.org [6] http://gtk.php.net/ [7] http://php-gtk.eu/ [8] http://www.php-gtk.com.br/

<strong>PHP</strong>-GTK 208<br />

Example<br />

<br />

Screenshot of the example<br />

The sample <strong>PHP</strong>-GTK 2 program instantiates a GtkWindow widget with the title "Hello World!", containing a<br />

GtkButton labelled "Click Me." When the button is pressed, the message "Hello again - The button was pressed!" is<br />

displayed on the console via the callback pressed.<br />

Deployment<br />

Several tools have sprung up that assist the simple deployment of <strong>PHP</strong>-GTK applications. <strong>PHP</strong> compilers such as<br />

PriadoBlender [3] and Roadsend <strong>PHP</strong> (Currently only compatible with <strong>PHP</strong>-GTK 1) enable the compilation of<br />

applications written in <strong>PHP</strong>-GTK to a standalone binary executable. Alan Knowles' PECL package, bcompiler [4] ,<br />

also allows compilation of <strong>PHP</strong> into bytecode to hide the source code.<br />

Gnope [5] is a tool providing a straightforward means of deployment under Windows. It allows transparent<br />

installation of <strong>PHP</strong>-GTK 2, and applications written using it, through Gnope's own PEAR-compatible channel.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!