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

Derick Rethans' Blog:
Using OpenStreetMap tiles with Flickr
Mar 01, 2011 @ 15:37:56

Derick Rethans has a new post today with a bit of code showing how to combine Flickr and OpenStreetMap and make a mapping tool that plots out the location information for the Flickr images.

I like taking pictures, and I usually take a GPS so that I can place them on a map on my Flickr page. On my last excursion however, the battery of my GPS had died, so I did not have location information available to store in my pictures' EXIF headers. Flickr can use the EXIF headers to then show the images on the map. Because I did not have the location information to automatically place my pictures on the map, I wanted to do that by hand.

His script (as used by a local Squid proxy) supports two different versions of the mapping - one for Yahoo! Maps and the other for OpenStreetMaps'. You can see the end result here - a set of Flickr images with a map in the background.

tagged: tutorial flickr geolocation openstreetmap squid proxy

Link:

iFadey.com:
Get Flickr Images Using SimpleXML
Dec 16, 2010 @ 18:04:20

In this new post to the iFadey blog, there's a quick tutorial on using SimpleXML to fetch and parse the image feeds from Flickr.

In this article you will learn two main things: how to parse XML using SimpleXML and how to get Flickr images from RSS feed and display them on your web page.

He offers both a demo of it in action and a download of the source for those that want to jump right in. The tutorial walks you through fetching the XML feed for a Flickr gallery, loading it into a SimpleXML object and creating a reusable class to pull out the photo titles, image details and profile link.

tagged: flickr simplexml image tutorial xml

Link:

Zend Developer Zone:
Integrating Flickr Photostreams with PHP
Feb 04, 2010 @ 18:22:46

On the Zend Developer Zone there's a new tutorial showing you how to integrate your application with Flickr with some help from components in the Zend Framework.

Like many Web 2.0 applications, Flickr exposes its data to the public via a REST API, making it possible to develop customized applications that run on top of the base service. This REST API allows access to a number of important functions, including photo searching, tagging and uploading; photoset retrieval; contact retrieval; and panda recommendations.

The tutorial uses the Zend_Rest_Client component of the Zend Framework to make the actual request to the Flickr API and you'll need a API key/shared secret to be able to use it. The rest of the tutorial is code dedicated to helping you connect to the service, fetch data, search the API (and output the results), and looking at some of the "interestingness" magic Flickr has to share.

tagged: flickr photostream api zendframework rest

Link:

Web Development Blog:
Ajax requests using jQuery and PHP
Dec 28, 2009 @ 16:16:19

In a recent post to the Web Development Blog there's a tutorial about creating a simple script to connect to Flickr and run a search to return matching image thumbnail information.

Our last tutorial about the flickr API was an example on how-to search the flickr photo database for images using some short PHP code. This time we will use parts from the past tutorial together with some jQuery Ajax requests to show our photo search result without reloading the web page.

They include the code for the different parts of the application - the HTML for the frontend form, the Ajax functions to access the PHP backend interface and the PHP code to make the request over to the Flickr API for images matching your search term.

tagged: ajax flickr search tutorial

Link:

Web Development Blog:
Search for photos using PHP and the flickr API
Dec 21, 2009 @ 21:16:31

On the Web Development Blog there's a recent post about connecting your PHP application with the Flickr API to search for photos with the help of a simple class.

We will be using the php function "file_get_contents" to receive data from flickr. The data which we will receive will be a serialized PHP array which means all we need to do is unserialize the array and we will easily be able to use the data returned. As an alternative we can use a cURL function to get the data, for example if the function "file_get_contents" is not allowed on your web host.

They show how to get your API key from the Flickr website and the sample code that you'll need to make a GET request (with file_get_contents) and an example of a loop displaying the response.

tagged: flickr share api connect tutorial

Link:

DZone.com:
Building a Flickr Slideshow with NetBeans IDE 6.5
Oct 01, 2009 @ 16:06:44

On DZone.com today there's a new screencast posted from the NetBeans IDE group showing how to create a simple Flickr slide show inside the application.

In this screencast, Justin Bolter, Technology Evangelist at Sun Microsystems, shows you how to build a PHP Flickr slideshow using NetBeans IDE 6.5 . Bolter walks through the various ways in which NetBeans IDE 6.5 supports PHP development, including project support, run configurations, code completion, syntax highlighting, documentation, refactoring and debugging.

If you can't view the screencast, the full transcript of it is also included in the post.

tagged: netbeans flickr tutorial screencast

Link:

Community News:
Looking Back at the Dutch PHP Conference 2009
Jun 16, 2009 @ 15:21:02

The Dutch PHP Conference for this year has finished and the wrapups and reviews are already starting to pop up. Here's a listing of several bloggers that have already shared their memories:

Keep an eye here for more summaries to be added to the list as they're posted.

tagged: joindin flickr wrapup dpc09

Link:

Sebastian Bergmann's Blog:
Flickr: The Real World PHP 5 Benchmark
Mar 27, 2009 @ 17:03:08

Sebastian Bergmann has posted a real world benchmark as justification for moving from a PHP 4 to PHP 5 environment - evidence from Flickr's change.

Benchmarks such as the PHP / GCC / ICC Benchmark I posted quite a while ago on this blog are synthetic. They test "raw bytecode execution" speed that cannot be translated into real-world situations per se. Flickr recently migrated from PHP 4 to PHP 5. And here are their real world numbers.

The graph shows a dramatic drop in processing needed (CPU usage) at the moment they made the switch over from PHP4 to PHP5.The system processing usage stayed about the same (system processes like logging and memory handling) but the user CPU usage (like what the web server would use) saw an immediate change by almost twenty percent.

tagged: php5 php4 benchmark flickr cpu usage compare graph

Link:

NETTUTS.com:
Create a Slick Flickr Gallery with SimplePie
Feb 26, 2009 @ 18:56:12

In this new tutorial from NETTUTS.com there's information on how to create a gallery of the images from your Flickr account with help from SimplePie, a PHP tool for parsing XML feeds (like RSS).

Ok, so we're going to be touching on a number of technologies for this tutorial. We'll be using an RSS feed from Flickr, a bit of PHP, and some jQuery to make things nice and interactive! We'll use SimplePie to handle the RSS feed, as it makes life much easier, and can be used in any other projects where RSS feeds are involved.

They pull in the public photo information for a given user ID and parse details like the title of the gallery and each image's details, including descriptions. Add in a few links, some Javascript (jQuery) and HTML and you have a simple image gallery that automatically updates when you upload new photos to Flickr. You can grab the source here or just see it in action in their demo.

tagged: tutorial simplepie flickr image gallery jquery rss feed

Link:

Michelangelo van Dam's Blog:
Zend Framework Bughuntday review
Nov 12, 2008 @ 13:53:56

Michelangelo van Dam has posted his summary of the recent BugHuntDay that happened in Roosendaal (the Netherlands) this past weekend:

Bughuntday is a whole day developers can come together to start fixing bugs for open-source frameworks and libraries. This Saturday we started these series with Zend Framework, a hugely adopted PHP framework within enterprise and professional web application development.

He also includes the slides from the presentation and a video of Jurien Stutterheim's talk introducing everyone to testing and the Zend Framework. There's pictures of the event on Flickr too.

Check here for an updated video from the event.

tagged: bughuntday review zendframework slides flickr testing bug fix

Link:


Trending Topics: