Apr
02
Posted on 02-04-2007
Filed Under (PHP ) by jay

From the Facebook Site:

“Thrift is a software framework for scalable cross-language services development. It combines a powerful software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, and Ruby. Thrift was developed at Facebook, and we are now releasing it as open source.”

Facebook Developers | Thrift

(0) Comments    Read More   
Jan
30
Posted on 30-01-2007
Filed Under (PHP , Web2.0 , API ) by jay

I have started a Google Projects Page for my phpYahoo project as well as a new demo site.

I did some extensive work on the class recently by adding caching as well as expanding the search functions to allow searching by either a single string parameter or and array of parameters.

Links

Yahoo! Hacks

(4) Comments    Read More   
Jan
26
Posted on 26-01-2007
Filed Under (PHP , API ) by jay

*updated - 2007-01-26*
phpYahoo is a class written in PHP5 that act’s as a wrapper for Yahoo’s! Web Search API. Methods process the response XML and return an array of data to make development easier. With this class you can search for Yahoo! Web content, Yahoo! Videos or Yahoo! Images.

This class follows a similar pattern like phpNapster class.
Read the rest of this entry »

(0) Comments    Read More   
Jan
07
Posted on 07-01-2007
Filed Under (PHP , API ) by jay

phpNapster is an Unofficial Napster Search API written in PHP5. The origin comes from here and I have merely wrapped it up in a neat package.

This class allows you to search Napster via Artist, Album or Track but be fore warned that if the results come back empty Napster displays an HTTP 404 type of error page and the SimpleXML Object tends to barf on it self.
Read the rest of this entry »

(1) Comment    Read More   
Dec
20
Posted on 20-12-2006
Filed Under (AJAX , PHP ) by jay

This is an update to this post with the change being that I swapped out Lightbox JS (Scriptaculous/Prototype) in place of the Yahoo! User Interface Library.

The result is a minor performance increase using the YUI over Prototype.

Read the rest of this entry »

(0) Comments    Read More   
Dec
13

The title says it all. In this tutorial I’ll explain how to build a dynamic data grid for browsing data. This is not a perfect data grid solution that can be just dropped onto a page, it requires a bit of hands on tweaking, but the end result is pretty amazing.

This code uses AjaxAgent and PHP5’s PDO DataBase Functions. I really like using PDO but if you’re using something else you can very easily modify the code.

Read the rest of this entry »

(0) Comments    Read More   
Dec
07
Posted on 07-12-2006
Filed Under (PHP ) by jay

This is another little project that I’ve been hacking around with which simply uses the Yahoo! Video and YouTube Search Service API’s and just for fun phpFlickr to find videos and images.

I’ve managed to figure out that making a REST request can be broken down to 6 lines of code. Six!

  • The WebService URL
  • 4 Lines of code to set up curl
  • A line that converts the Xml Response into an SimpleXmlObject Array()

Read the rest of this entry »

(0) Comments    Read More