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

Community News:
PHP-GTK Project Moves to Github
Nov 21, 2012 @ 16:25:15

According to this new post on the main PHP-GTK project's website, they've officially made the move over to github:

Although the main PHP-GTK site at http://gtk.php.net/ does not (yet ?) make mention of it, development of PHP-GTK is still active, but is using a more recent infrastructure, having moved to Github like many other projects.

You can find this new repository at https://github.com/php/php-gtk-src. The PHP-GTK project is an extension for the PHP programming language that implements language bindings for GTK+. It provides an object-oriented interface to GTK+ classes and functions and greatly simplifies writing client-side cross-platform GUI applications.

tagged: phpgtk project github repository official

Link:

Voices of the ElePHPant Podcast:
Interview with Elizabeth Smith
Jul 10, 2012 @ 16:57:12

The Voices of the ElePHPant podcast has release their latest interview with a member of the PHP community - a chat with Elizabeth Smith of PECL and PHP on Windows fame (as well as one of the originators of the PHP Mentoring project).

Cal's questions for Elizabeth revolve around her speaking/community involvement and some of the work she's currently doing:

  • Tell us some about your current involvement in the PHP community
  • Why don't you tell us some about PHP on the desktop (PHP-GTK)
  • Talk about the work you're doing at MojoLive

You can listen to this latest episode either via the in-page player, by downloading the mp3 or by subscribing to their feed.

tagged: voicesoftheelephpant podcast interview community elizabethsmith phpgtk mojolive

Link:

Community News:
PHP-GTK Migrates to Git/Github
Mar 21, 2012 @ 14:40:31

As a part of the move to git/github that the PHP project recently made, a reminder was posted that the PHP-GTK project has also migrated.

PHP-GTK is a PHP extension that enables you to write client-side cross-platform GUI applications. This is the first such extension of this kind and one of the goals behind it was to prove that PHP is a capable general-purpose scripting language that is suited for more than just Web applications.

The full source can be found and forked/cloned over on github and is just waiting for you to contribute!

tagged: phpgtk gtk migrate git github

Link:

ZetaCode.com:
PHP GTK tutorial
Nov 18, 2011 @ 18:41:30

Jan Bodnar has pointed out a great PHP-GTK tutorial on ZetaCode.com that walks you through some of the major points of this graphical frontend for PHP:

This tutorial will teach you the basics of GUI programming with the PHP GTK. The tutorial has 8 chapters which cover the first steps with the library, menus, toolbars, dialogs and various widgets. It has some examples for drawing with Cairo library. The final chapter presents a small computer game; The Nibbles.

Each of the topics has sample code and screenshots of the resulting output for each. Also included is information on layouts and "painting" with Cairo - drawing shapes, rectangles, text, etc.

tagged: phpgtk graphical frontend tutorial widget cairo

Link:

PHPClasses.org:
Lately in PHP podcast episode 17 - PHP 5.4 & PHP-GTK in the Browser
Oct 31, 2011 @ 17:50:53

On PHPClasses.org today they've released their latest episode of their "Lately In PHP" podcast - episode #17. In this new episode Manuel and Ernani talk about PHP-GTK in a web browser and the proposed PHP 5.4 release date.

PHP 5.4 beta 2 was just released, so the final version of 5.4.0 is coming soon. Many PHP Developers want to know when it will be the final PHP 5.4 release date. Manuel Lemos and Ernani Joppert talk about this and other interesting PHP related topics in episode 17 of the Lately in PHP podcast.

You can listen to this latest episode either through the in-page player, by downloading the full mp3 or by subscribing to their feed to get this and past episodes (including ones about MODX and PHPFog).

tagged: phpgtk browser podcast latelyinphp release date

Link:

PHPClasses.org:
Using PHP-GTK to serve Web Applications to HTML 5 Browsers
Oct 27, 2011 @ 14:57:13

On the PHPClasses.org blog today there's a new post showing how you can use PHP-GTK to generate websites, not just the more traditional desktop applications people associate it with.

es, you read it right, GTK+, the Gnome Toolkit library, normally used to create desktop applications, can now be used to serve the same applications via the Web to a browser that supports HTML 5 canvas objects. PHP-GTK is a PHP extension that uses the GTK+ library to build PHP desktop applications. So it can eventually benefit for this GTK library enhancements to build PHP-GTK based applications that can be served over the Web to HTML 5 browsers.

Manuel starts by explaining a bit about what PHP-GTK (and GTK+) is and a recent update to GTK+ that allows it to generate output to different backends - Wayland (direct graphics rendering) and Broadway (HTML5 canvas support). There's no example code to go along with the post, but there's a good description of how the output of an X Windows session could be pulled in and displayed in a browser (see this video for a cool example using GIMP and Broadway).

tagged: phpgtk html5 gtk application xwindows backend wayland broadway

Link:

Alexey Zakhlestins' Blog:
GObject for PHP (new bindings project)
Feb 24, 2011 @ 14:25:23

In a new post Alexey Zakhlestins talks about a project he's been working on, a part of the split up with PHP-GTK out into separate projects. His part of the group is GObject with has now been moved over to github.

This new PHP extension is called "GObject for PHP", so, my main concern, obviously is building comfortable bridge between GObject objects and PHP's objects. It starts to work, but there's a lot of stuff to be done. Please join the project, if you are interested. We need more hands!

He describes some of the features already in the library - counterparts for parts of the current GObject world in PHP including GType, GSignal and GParamSpec. This is all on the master branch. In his "introspection" branch he's working on the introspection idea the GNOME community has been working towards too.

tagged: phpgtk gobject binding github master introspection

Link:

PHP-GTK Blog:
How to: PHP 5.3 with PHP-GTK and Cairo on Linux Mint 9
Aug 13, 2010 @ 14:33:23

On the PHP-GTK blog today there's a new post looking at getting the latest versions of PHP (5.3) and PHP-GTK up and running on a Ubuntu-based system.

At the moment there are some minor problems when trying to get a working installation of PHP with GTK running on Ubuntu based systems. Here is a quick walk through of how you can get this all set up with the trunks from GTK and Cairo and the official package for php-cli in 10 easy steps. This installation was originally done on Linux Mint 9 but should work with most Ubuntu based Linux distributions.

There's ten steps in the process including fetching the packages you'll need with an apt-get call, checking out the latest cairo and php-gtk and the commands to patch and build the source.

tagged: phpgtk cairo linux ubuntu tutorial install

Link:

PHP-GTK Community:
Code completion for PHP-GTK in Netbeans
Feb 25, 2010 @ 16:16:54

In a recent post to the PHP-GTK Community site, there's a new presentation on code completion for PHP-GTK in Netbeans (illustrated here).

Jose Antonio Bayona Medina has put up a slideshow demonstrating how to use the basic technique outlined in this chapter to add PHP-GTK 2 autocompletion in Netbeans 6.7.

You can see the presentation in the post or head over to Slideshare and check out this and other presentations by Jose Antonio Bayona Medina about more PHP-GTK work and code completion.

tagged: phpgtk code completion netbeans ide

Link:

HubFolio:
Deploying a PHP-GTK application with NSIS
Nov 04, 2009 @ 17:06:33

On the HubFolio site today Matthew Casperson has posted a new tutorial about deploying PHP-GTK applications with the help of the NSIS software (Nullsoft Scriptable Install System).

PHP-GTK is a project that binds the GTK desktop library. Unlike other solutions like Appceletartor Titanium, which create web applications that are distributed like a desktop application, PHP-GTK allows PHP developers to create native desktop applications utilizing the GTK platform. One of the issues with PHP-GTK is distributing the final application. This tutorial steps you through the process of creating a setup package for a simple PHP-GTK application with NSIS and HM NIS Edit.

He shows you how to create a simple PHP-GTK application, package it up with the HM NIS Edit tool and use the wizard to create the new package. Change a few configuration settings and compile the script and you should end up with a nice bundled installer.

tagged: phpgtk application nsis windows installer

Link:


Trending Topics: