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

PHP-GTK Community:
Click Coordinates & Grabbing Screenshots
Oct 02, 2007 @ 13:54:00

The PHP-GTK Community website has two new posts they've made recently - one concerning clicking on images and the other about grabbing screenshots:

  • Getting (x,y) coordinates when clicking on images - I wrote an application where the user clicks on a GtkImage, and I want to know *where* the user clicked. Here's a simple object extending GtkAlignment.
  • Grabbing a screenshot with Gdk - Need to grab a screenshot in your program? Or maybe you just need to create an image from an existing GtkWidget. There's an easy way to accomplish both tasks using GdkPixbuf::get_from_drawable();

Check out the rest of the site for more reference, applications and information for the PHP-GTK community.

tagged: cooridnate click screenshot grab gtkimage gdkpixbuf cooridnate click screenshot grab gtkimage gdkpixbuf

Link:

PHP-GTK Community:
Click Coordinates & Grabbing Screenshots
Oct 02, 2007 @ 13:54:00

The PHP-GTK Community website has two new posts they've made recently - one concerning clicking on images and the other about grabbing screenshots:

  • Getting (x,y) coordinates when clicking on images - I wrote an application where the user clicks on a GtkImage, and I want to know *where* the user clicked. Here's a simple object extending GtkAlignment.
  • Grabbing a screenshot with Gdk - Need to grab a screenshot in your program? Or maybe you just need to create an image from an existing GtkWidget. There's an easy way to accomplish both tasks using GdkPixbuf::get_from_drawable();

Check out the rest of the site for more reference, applications and information for the PHP-GTK community.

tagged: cooridnate click screenshot grab gtkimage gdkpixbuf cooridnate click screenshot grab gtkimage gdkpixbuf

Link:

DevShed:
Building the Index Page for a PHP Email Application
Nov 08, 2006 @ 11:29:20

DevShed is continuing their look at the creation of an email application with the third part of the series. It looks at building the main index page of the application as well as some of the sub-pages that it links to for other features.

The index page displays the newly downloaded messages in a table with five columns. These columns list (among other things) the date, subject and from field of the messages.

They break out the actions the page takes when someone logs in/views email - grab user info, grab messages, and display the navigation panels. Since they've already looked at the first of the list in a previous tutorial, they cover the last two, showing how to create the navigation (and some sub-pages) and how to grab all of the messages for the currently logged in user.

tagged: tutorial email client interface grab messages header tutorial email client interface grab messages header

Link:

DevShed:
Building the Index Page for a PHP Email Application
Nov 08, 2006 @ 11:29:20

DevShed is continuing their look at the creation of an email application with the third part of the series. It looks at building the main index page of the application as well as some of the sub-pages that it links to for other features.

The index page displays the newly downloaded messages in a table with five columns. These columns list (among other things) the date, subject and from field of the messages.

They break out the actions the page takes when someone logs in/views email - grab user info, grab messages, and display the navigation panels. Since they've already looked at the first of the list in a previous tutorial, they cover the last two, showing how to create the navigation (and some sub-pages) and how to grab all of the messages for the currently logged in user.

tagged: tutorial email client interface grab messages header tutorial email client interface grab messages header

Link:

PHPied.com:
Getting an RSS feed with the Zend framework 0.1.1
Mar 06, 2006 @ 08:24:57

For anyone that's been looking for a "real life" example of how to use the recently release version of the Zend Framework, phpied.com has this posting with details on the construction of an RSS reader with its help.

In case you've missed it, the fisrt pre-release of the Zend PHP framework went public. I briefly looked into it and here's a quick example to get you started.

He steps you through the download/install of the framework and how to set your include path so as not to have any issues. He uses Zend's "Feed" package to import the RSS feed loop through it, and dump the values into an array. It's a very simple reader, but it's done in only about 25 lines of code (complete with exception catching for the feed read).

tagged: grab rss feed zend framework preview release grab rss feed zend framework preview release

Link:

PHPied.com:
Getting an RSS feed with the Zend framework 0.1.1
Mar 06, 2006 @ 08:24:57

For anyone that's been looking for a "real life" example of how to use the recently release version of the Zend Framework, phpied.com has this posting with details on the construction of an RSS reader with its help.

In case you've missed it, the fisrt pre-release of the Zend PHP framework went public. I briefly looked into it and here's a quick example to get you started.

He steps you through the download/install of the framework and how to set your include path so as not to have any issues. He uses Zend's "Feed" package to import the RSS feed loop through it, and dump the values into an array. It's a very simple reader, but it's done in only about 25 lines of code (complete with exception catching for the feed read).

tagged: grab rss feed zend framework preview release grab rss feed zend framework preview release

Link: