PHP
  Home arrow PHP arrow Implementing Yahoo Image Search Web Se...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Implementing Yahoo Image Search Web Service with PHP 5
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2008-01-29

    Table of Contents:
  • Implementing Yahoo Image Search Web Service with PHP 5
  • Using the Yahoo! Web Search Service with PHP 5
  • Implementing the Image Search Service in PHP 5
  • Implementing the Yahoo! Image Search Service with PHP 5

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Anyone looking for a way to modernize legacy data or easily migrate to a more cost-effective database without sacrificing functionality will benefit from this seminar. View the Intro to Advantage Database Server now!

    Implementing Yahoo Image Search Web Service with PHP 5
    (Page 1 of 4 )

    Welcome to the third installment of the series “Using Yahoo! Web Services with PHP 5.” If you’re a PHP programmer who wants to learn how to incorporate the useful web services offered by Yahoo, then this series of articles might be what you’re looking for. You’ll find numerous code samples to help you start using these popular web services within your own PHP 5 applications.

    Implementing popular web services, like video and image searches, within your own web site can be a powerful mechanism and handy when it comes to keeping visitors engaged. The good news is that you, as a PHP developer, can easily take advantage of these services by using the set of thorough APIs provided by Yahoo!. So if you're curious about how to do this, start reading this article now!

    Now that I've introduced you to the main subject of this series, it's time to rehash the interesting topics that I discussed in the preceding tutorial. In dong so, you’ll be able to easily recall all of the key concepts surrounding the implementation of the useful Yahoo! Web Search Service in conjunction with PHP 5.

    Simply put, in the previous article of the series I provided you with a quick overview of how to integrate the aforementioned Yahoo Web Search Service by coding a basic PHP 5 script that was tasked with performing two primary tasks. First, it must query the service via the submission of a typical query string (as you’ll probably remember, the term “Madonna” was used in that case), and second, it must fetch the corresponding results in the form of a serialized PHP array.

    Once the search results in question were retrieved by the script, they were properly formatted by using a few basic (X)HTML tags and displayed directly on the browser. Of course, the most important thing to stress here aside from the formatting process is that those results were returned as a multidimensional PHP array by including into the respective query string the “output=php” option, which enormously facilitates parsing any output produced by the web service. This is because this procedure involves only the utilization of some simple array processing functions bundled with PHP.

    At this point, I’m reasonably sure that you’re familiar with parsing the eventual results returned by the Yahoo! Web Search Service when they’re retrieved as a serialized PHP array. So based on this assumption, in this third chapter of the series, I’m going to continue exploring in detail other helpful web services offered by Yahoo!, such as those focusing on searching images and videos. Also, I will demonstrate how they can be queried directly from a basic PHP 5 application and process the corresponding search results by utilizing the same group of array handling functions that you saw in the previous article of the series.

    Hopefully, by the end of this tutorial you’ll be equipped with a decent background to start using these additional Yahoo! web services within your existing or future PHP 5-driven applications. Thus, don’t waste more time in preliminaries; begin reading now!

    More PHP Articles
    More By Alejandro Gervasio


       · Over this third chapter of the series, you’ll learn how to consume other helpful web...
     

       

    PHP ARTICLES

    - Comparing Files and Databases with PHP Bench...
    - Setting Up a Web-Based Image Gallery
    - Using Timers to Benchmark PHP Applications
    - Benchmarking Applications with PHP
    - Setting Up a Web-Based File Manager: PHPfile...
    - Developing a Modular Class For a PHP File Up...
    - Setting Up a Web-Based File Manager: bfExplo...
    - Defining a Custom Function for File Uploader...
    - Parsing Child Nodes with the DOM XML extensi...
    - Creating an Error Handling Module for a PHP ...
    - Accessing Attributes and Cloning Nodes with ...
    - Retrieving Information on Selected Files wit...
    - Handling HTML Strings and Files with the DOM...
    - Building File Uploaders with PHP 5
    - Working with Multiple Document Nodes with th...




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway