News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

John Maver's Blog:
How to create a Bebo application using PHP 5
0 comments :: posted Monday May 12, 2008 @ 17:21:17
voice your opinion now!

In this new post on his blog, John Maver gives a step-by-step guide for creating a PHP5 application for the popular social networking site Bebo.com.

I have been answering a lot of email requests for how to get started with a Bebo application. Since applications can be written in any language that supports interaction with the Bebo REST API, developers have a lot of choices in how they build their application. The focus of this article will be on the "officially supported language" - PHP.

He defines the parts of the application first (the callback, canvas page, profile box, invitation and news stories). Much like the Facebook API, the Bebo system has you host the application on your own servers and use their developer libraries to interface with their systems. He makes a simple application that has a "story" published to it that shows to each visitor.

He also tosses in a method for knowing a bit more about the user - like if they've just added the application, if they're a normal user or if they've just removed it from their application list.

tagged with: bebop application php5 tutorial callback canvas profile news invitation


Developer Tutorials Blog:
PHP array_walk() Run an array through a function
0 comments :: posted Wednesday April 23, 2008 @ 08:47:09
voice your opinion now!

The Developer Tutorials blog has a quick example of how to use the array_walk function to maneuver through the array of your choosing and applying a callback method to each of its elements.

It’s a common sight: taking an array and running (well, walking) its elements through a particular function. Luckily, PHP provides a simple yet powerful function to overcome this: array_walk().

They include an example, giving a sample "some_function" the array_walk method uses when it's called, replacing a foreach (or other type of loop). Plus you can specify an object with the callback to run it against a method inside a class too.

tagged with: arraywalk function callback object method loop tutorial


package mysql ajax job conference cakephp security application developer pecl database framework book PHP5 releases code zend release zendframework PEAR

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework