PHP
  Home arrow PHP arrow Building a Complete Web Searching Clas...
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

Building a Complete Web Searching Class with Yahoo Web Services and PHP 5
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2008-02-20

    Table of Contents:
  • Building a Complete Web Searching Class with Yahoo Web Services and PHP 5
  • Defining an image searching class in PHP 5
  • Using Inheritance to work with different Yahoo! Web Services
  • Consuming specific Yahoo! Web Search Services

  • 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

    TestComplete™ automates software testing for a fraction of what the big guys charge. Easy functional and load testing for all Windows, .NET, Java and Web apps. Download a free trial now.

    Building a Complete Web Searching Class with Yahoo Web Services and PHP 5
    (Page 1 of 4 )

    Welcome to the final part of the series “Using Yahoo! Web Services with PHP 5.” As the title claims, this series walks you through the basic concepts surrounding the correct utilization of the most relevant web search services provided by Yahoo! and puts the corresponding theory into practice by utilizing both procedural and object-oriented approaches.

    As you possibly know, Yahoo! has recently released a thorough set of Web Service APIs that can be easily consumed by using some popular server-side programming languages, including my favorite one, PHP. If you're interested in learning how to implement these useful services directly from your own PHP 5 applications, then look no further, because you've come to the right place.

    Provided that you already went through all of the previous articles of the series, I could say that at this point you should have a pretty solid background in consuming the Yahoo! Web Search Services by way of some procedural PHP functions and a few straightforward classes as well.

    As you saw for yourself in the course of the preceding articles, implementing a particular Yahoo! Web Search Service with PHP 5 is a relatively straightforward process, since it only requires an intermediate background in fetching file contents and processing multidimensional arrays using a few common PHP functions.

    However, there's one particular thing that you'll certainly recall from the last tutorial: on that occasion I showed you how to utilize the respective Yahoo! traditional and video search services via two modular PHP 5 classes, which implemented some basic methods for performing the searches.

    Of course, it's fair to mention here that the signatures corresponding to all these classes were very similar to each other. This naturally implies that it's possible to use inheritance to create one base class, and then derive some sub classes according to the web service that needs to be implemented in a specific case. Sounds pretty logical, right?

    So, this last installment of the series will be entirely focused on demonstrating how Inheritance can be used in a helpful way to build a set of child classes that will come in handy for consuming a specific Yahoo! Search Service.

    Now that you know the subject of this tutorial, it's time to learn how these web searching classes will be created with PHP 5. Ready to start? Let's go!

    More PHP Articles
    More By Alejandro Gervasio


       · Over the course of this last episode of the series, you’ll learn how to build some...
     

       

    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 6 hosted by Hostway