Ajax & YahooSaturday, December 23rd, 2006

Image-Search

This time I used Yahoo Ajax to build my search engine. Yahoo provide more features than Google, and give us more opportunity to create better application. I’m only talking about Ajax, however with Yahoo we can build applications using Flash, .NET, PHP, Python, Ruby - see Developer Center for more information).

Google vs. Yahoo

Google Yahoo
Maximum 8 results per search All query results are available
Results can be loaded into specified container or we can manipulate on the array of results Response data is in XML format
- 5,000 queries per IP address per day
Web Search, News Search, Blog Search, Video Search, Local Search Web Search, Audio Search, Content Analysis, Image Search, Local Search, News Search, Site Explorer, Video Search
Custom Search Engine MyWeb
Google Ajax Search API Key Application Id
- Web Proxy for Cross-Domain XMLHttpRequest Calls
Only .setQueryAddition(term) method (for site:, link:, etc.) Building request with URL parameters

Yahoo providing more services and more products than Google, however it is much simpler to build application based on Google Ajax. This is because when we are using Google we don’t have to care about how results are formatted, we can use standard style and put the results into some container. Yahoo give us response in XML format, so first we have to read information from XML (Same with Google when we want to use information contained in array).

I like both solution, Google Ajax gives less but it is simpler, Yahoo Ajax gives more however we need to fight with XML (It is not that hard, but we have to do that). If you didn’t see my Custom Search Engine based on Google Ajax, look here, but today I would like to present my new project Image-Search based on Yahoo Ajax.


Leave a Reply

  • Name: (required)
  • E-mail: (not required/will not be published)
  • Website:
  • Comment: (required)
  • Enter Above Code:
  • Letters left: 255
  • Note: Your comment will appear on the site within a few hours after you submit it.