Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Create your own widget with PHP-GTK
Aug 19, 2008 @ 14:35:30

A new tutorial on the Zend Developer Zone shows you how to use PHP's "younger cousin" PHP-GTK to make a simple widget.

With PHP's younger cousin PHP-GTK's recent step to maturity with the 2.0 stable release it is a good time to give this project some more attention. In this article I will show you how to create a re-usable IPv4 Entry widget using PHP-GTK's excellent OO structure.

The end result is an interface that lets the user input an IP in a familiar way (blocks of three, automatically advancing to the next block). They talk about the code first, describing how all of the parts fit together before giving you an easily cut-and-pastable block of code (the class) that creates the widget.

tagged: widget phpgtk tutorial ipaddress interface

Link:


Trending Topics: