spacer
Web Development Tutorials PHP Tutorials
 Developer Newsletter

Tutorials
AJAX
ASP
CGI & Perl
CSS
Flash
HTML
Illustrator
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML
Miscellaneous


Scripts Directory
AJAX Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Web Hosting Directory
ASP.NET
Budget
Dedicated Servers
Ecommerce
Linux
Resellers
Shared
Small Business
Windows

Developer Manuals
Learn HTML
Learn PHP
Learn CSS
Learn AJAX
Learn JavaScript
Learn Pear
Free White Papers

Developer Resources
Developer Tools
Developer Content
Survey Software
Dedicated Servers




Desktop Application Development with PHP-GTK

By Akash Mehta
2008-03-13


So how powerful is this PHP-GTK?

We just finished writing hello world in six lines of code, and haven't got anything terribly interesting yet. So what is PHP-GTK capable of? If you installed Gnope, you'll have a new folder in your start menu, "PHP-Gtk2". Find it and load up "Applications". You should see the Gnope application launcher:

Scroll down and double-click on PHP-Gtk2 Demos. The Gnope folks have compiled some demonstrations of PHP GTK, including use of the controls and some interesting tricks. Each demo has a brief summary, a functioning inline demo and the source code that powers it. For example, here's the combo box example:

You aren't limited to plain old interfaces, either. Drawing is also an option:

Leaving the demos for a moment, building entire applications in PHP-GTK is not out of the question:

Of course, when you reach this level of complexity there are other considerations to take into account, such as performance when working with highly complex interfaces. This Notepad was very snappy, but only on my recent Centrino Duo laptop; running on an old PIII box with Windows 2000 was a somewhat delayed-response affair, and even slight lag in simple operations such as copying and pasting can frustrate users.



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:
» 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
» Easy PDF Generation in PHP



About the NetVisits, Inc Network | Write For Us | Advertise
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: