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.
More
This is an up date to Using Script.aculo.us to Toggle a DIV with the added bonus of persisting the state of the Toggled DIV(s). This is not as an elegant solution because it doesn’t to use the Effect.Toggle Function but it does allow you to use any pair of Combination Effects.
More
This is the Uber-Web 2.0 function of the Year, In Place Editing. This function is mostly associated with Ruby and other ‘fluffy’ web apps but once you figure out how easy it is to add to an app you’ll be amazed.
In this short tutorial I will show you how to add InPlaceEditing to an Unordered List.
This tutorial is built using the Script.aculo.us Library and PHP5.
Most of the examples I found are for Ruby but I did find one other that helped me. Even though this topic has been covered I feel it is my duty to help spread the knowledge.
More
December 20th, 2006
Comments Off, 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.
More
This is a nice little trick that I am constantly going back to Script.aculo.us to look up. This Hides/Shows (Toggles) a DIV (or any element) with the click of a link using the Script.aculo.us Effect.toggle(’ELEMENT’,'EFFECT’) function. Script.aculo.us has 16+ Combination Effects but only a few can be used with Toggle.
More
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.
More
December 7th, 2006
Comments Off, 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()
More