6. Mashups and External Server Communications

The Web is a big place. A very big place. With lots of smart people doing lots of smart and clever things. Sometimes other people get to use their smart ideas. Sometimes your needs are so specific that you have to write your own services. Whatever your needs, you will likely reach a point where the “out-of-the-box” offerings from OpenSocial on MySpace are just not enough to satisfy your needs. Thankfully, OpenSocial recognizes these needs and provides you with a mechanism or two for communicating with external servers.

In this chapter we’ll add two different features to our app that are dependent on external server communications. Each feature will use a different technique. We will make use of existing ...

Get Building OpenSocial Apps: A Field Guide to Working with the MySpace Platform now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.