Chapter 8. Ajax Mashups
In this chapter, we will cover the following topics:
Web services
XML-RPC
Creating and consuming web services using PHP
Using Flickr API with Ajax
Using Twitter API with Ajax
Translating text using Google Ajax API
Using Google Maps
Searching for a location within a Google Maps
Searching within XX km. radius of Google Map with markers and Info window
Maps with markers and Info window
Finding a city/country using IP address
Converting currencies using Ajax and PHP
Knowledge of web services is one of the important qualities of the web developer these days. In this chapter, we first go through consuming the web services provided by the popular websites.
First of all, we will be learning about the introduction of popular web services formats like SOAP, REST, and XML-RPC. After that section, we will learn how to interact with the API of various popular web applications like Flickr, Twitter, Google Translate, Google Maps, and a Currency Convertor using foxrate.org's XML-RPC API.