Skip to Main Content
Adding Ajax
book

Adding Ajax

by Shelley Powers
June 2007
Intermediate to advanced content levelIntermediate to advanced
400 pages
9h 52m
English
O'Reilly Media, Inc.
Content preview from Adding Ajax

Chapter 9. Mashup Your Site

Adding Ajax to your site opens your site opens it up to a world of services, applications, and assorted and sundry widgets. Both Yahoo! and Google provide mapping services, Amazon external storage, imagery with Flickr, syndication feeds with Newsgator, and a host of metadata made available through XML, microformats, and the Resource Description Framework (RDF).

You could get carried away and end up with a site that tries to load the entire Internet into your sidebar, but if used wisely, these external services can be a real bonus for your web applications.

You can also, in turn, provide services from your site to other sites by providing widgets created specifically to take advantage of your services or data. Why would you want to? For the same reasons other sites provide their widgets for your use: to get your services in front of others, to sell or to share.

How much you can integrate with other services really depends on the service provider. Google manages all aspects of its mapping service, but provides a decent API that lets you show map locations, plot routes, and define the viewpoint window. However, it is a Google viewpoint window, and if the company decides to insert ads one day, you won't have any say in the matter.

Other services, such as the del.icio.us tag API, provide access to limited raw data, but may impose restrictions on how you use the data—or how often, since several services only allow you to call an API using the same license so many ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ajax: The Definitive Guide

Ajax: The Definitive Guide

Anthony T. Holdener III
Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff
Web Development with JavaScript and Ajax Illuminated

Web Development with JavaScript and Ajax Illuminated

Richard Allen, Kai Qian, Lixin Tao, Xiang Fu

Publisher Resources

ISBN: 9780596529369Supplemental ContentErrata Page