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

Using Yahoo Web Services to Perform Searches with an Object-Oriented Approach
Feb 12, 2008 @ 13:23:41

To finish up their series looking at using the Yahoo! web service search functionality in a PHP5 application, DevShed has posted this look at integrating the search functionality into a preexisting application.

In simple terms, my plan will consist of creating some compact and modular PHP 5 classes, which will define a few basic methods for working with the different web services offered by Yahoo!.

They take the code they created from before (earlier parts of the series) and format it to fit into its own standalone class that can be included anywhere in an application. They create the class so it can search not only the normal results but it can also pull in the data from the video search Yahoo! offers as well.

tagged: yahoo search video object oriented oop class integrate