PHP Slowly Progresses For GLib, Cairo, Pango
Written by Michael Larabel in GNOME on 7 April 2013 at 03:57 PM EDT. 8 Comments
While the PHP-GTK project has basically been dead for years, to provide GTK2 bindings to the PHP programming language, there have been several other projects worked on in more recent times to advance the GNOME support for the PHP programming language.

PHP-GTK implements GTK+ 2.x bindings for PHP, namely for those running PHP from the command-line rather than a remote web-server. The Phoronix Test Suite had been using PHP-GTK for its optional GUI on the client-side up until Phoronix Test Suite 3.0.

PHP-GTK developers basically split the project up into several smaller components. There are now static GLib bindings for PHP, a GObject Introspection Generator for static PHP extensions, the GIR wrappings for PHP, static GObject bindings for PHP, a PHP extension for the Cairo Graphics Library, and a Pango text layout engine wrapper for PHP.

All of these GNOME-related PHP components are hosted on GitHub. The GObject Introspection support for PHP is important and was made stable with GTK+ 3 and opens up new development possibilities as detailed on the GNOME Wiki. Cairo and Pango bindings for PHP are also nice for client drawing purposes.

At the end of the day though, this code isn't too well maintained with the latest commits to the GLib and GObject Introspection Generator code-bases being a month old while the other repositories haven't been touched in about a half-year. There's long been coming a new and modern user-interface for Phoronix Test Suite benchmarking, but it's not PHP-GTK based nor based on the technologies talked about within this article. The GNOME/GTK+ support within PHP simply isn't too good at the moment, which is understandable given the primary web focus of the language.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related GNOME News
Popular News
Trending Reviews & Featured Articles