Friday, June 4, 2004

Develop Desktop GUI Apps with PHP-GTK, the Standalone PHP

PHP has entered the standalone GUI application arena with PHP-GTK. PHP-GTK is an extension for PHP programming language that implements language bindings for GTK+ toolkit. It provides an object-oriented interface to GTK+ classes and functions and greatly simplifies writing client side cross-platform GUI applications.



Learn the basic building blocks of PHP-GTK coding with a tutorial for first installing the language and then building and connecting its widgets, buttons, and functions. The tutorials are provided by DevX.com.



DevX.com has two tutorials for installing PHP-GTK, one for Windows and another for Linux.



You might want to pay close attention to the installations in Windows, some apps may be associated with the php extension, such as Dreamweaver. I use Html-Kit myself, and it is associated with that extension as well. If you have a previous installation of PHP on a Windows system you will need to copy your php.ini file into the php-gtk directory.



Next up, the tutorial will guide you through a sample application that you can build with the PHP-GTK widget controls. If you are a Windows or Java programmer, you may be reminded of the old days of Windows 3.1 somewhat when you get your first look at the widget controls. They are not glamerous, but then again this is just the beginning of the PHP-GTK too. I am already thinking about the possibilites this can provide.



There are already various resources available for PHP-GTK including tutorials, Windows installers, newsgroups, sample applications, and articles.

No comments:

Post a Comment