Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

Desktop Application Development with PHP-GTK

By Akash Mehta
2008-03-13


Getting started with PHP-GTK

Binary files for the PHP-GTK extension are available, but the best way to get started under Windows is to grab a copy of Gnope, an all-in-one PHP-GTK environment installer, similar to XAMPP. If your development machine runs Linux, you may need to get a copy from CVS and compile from source - see the PHP-GTK website's download page for further details. I'll try and follow along with guidance for users of Linux, but I'll focus on Windows here.

I'll be working with Gnope 1.5.1's copy of PHP-GTK, but the code should function on any recent PHP-GTK 2 build, including the betas.

Linux users, remember to change references to "php.exe" with "php" or the path to your PHP binary, then skip over to the next section - "Your first PHP-GTK application".

Head to Gnope.org, download the installer and open it. You should see this screen:

Follow the prompts; when it comes to choosing options, make sure you select the "PHP Extensions" and "PHP-Gtk2 Demo Scripts" options; others aren't necessary. Move to the next screen and choose where you want to install; I recommend the default C:\Gnope\ for simplicity, as I'll be referring to it throughout the article.



Tutorial Pages:
» What is PHP-GTK?
» Getting started with PHP-GTK
» Your first PHP-GTK application
» So how powerful is this PHP-GTK?
» Building a real application in PHP-GTK
» Further reading


Related Tutorials:
» Port Scanning and Service Status Checking in PHP
» Web Database Access from Desktop Applications
» CubeCart 3.0 Installation and Configuration
» PHP Site Search Made Easy
» Installing and Configuring Drupal 6.1
» Installing PHP on Windows

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources