Sunday, February 24, 2008

Developers: OpenSocial OK, but needs tuning

Google's OpenSocial initiative to simplify the creation and adaptation of applications for social-networking sites pursues a valuable goal, but its technology platform needs further improvement.
That's the consensus from several developers who have been testing the OpenSocial APIs (application programming interfaces) and the OpenSocial implementations, or "containers," of participating Web sites.

However, the technical bumps they have encountered, while annoying and frustrating, haven't prompted them to give up on OpenSocial. Instead, the developers remain hopeful that the project, announced almost four months ago, will continue to mature.

Chris McCormick, a games industry contractor based in Australia, has encountered "a few rough edges" when working with OpenSocial, especially bugs in the partner sites' containers, but is "pretty satisfied" with the project.

"The API is intelligently designed and seems to cover all bases quite comprehensively. It should be possible to do some really fun stuff with it," McCormick said via e-mail.

Meanwhile, Aakash Bapna, an information sciences student in Bangalore, has also run into technical issues. "Bugs, bugs and lots of bugs. There are lots of issues with OpenSocial specs as they are launched. You can't tell when your smoothly working application can break," he said via e-mail.

For Bapna, a big hole is the unavailability of the server-side REST (Representational State Transfer) API, which will allow applications to tap servers, something that Thiago Santos, a Brazilian developer of an upcoming application called Partyeah, also misses.

Like McCormick, Santos also has encountered many bugs in partner site containers. Santos would also like Google to do a better job of communicating changes and updates to OpenSocial components. Still, he's confident OpenSocial will get over its growing pains eventually. "I have no doubt that [OpenSocial's promise] will be fulfilled," Santos said via e-mail.

That promise is to establish a standard application-development platform for social applications so developers don't have to remake an application for each social-networking site. While Facebook hasn't signed up for OpenSocial, other big social-networking sites have, like MySpace, Bebo and LinkedIn, as well as major enterprise software players like Oracle and Salesforce.com, which see emergence of social features within business applications.

With OpenSocial, developers will be able to build the core portions of social applications and then adapt them if necessary, with, they hope, minor tweaks and changes for specific sites.

"It's not 'write once, run everywhere.' It's more 'learn once and write everywhere.' You learn the OpenSocial model once. For most applications there will be a core of code that's common to all platforms," said Patrick Chanezon, developer advocate at Google.

Then it's likely that participating Web sites will make available to developers additional extensions in their OpenSocial containers, allowing developers to take advantage of specific features in their sites that aren't included in the standard, Chanezon said.

Developers don't seem worried that OpenSocial will splinter if partner sites add too many proprietary functions to their containers. "I think it should be reasonably easy to write apps that run on all social-networking sites that support OpenSocial without much modification," McCormick said. "The core of OpenSocial contains the most important parts of the social-networking experience ... Anything which does end up adding something drastically new and wonderful will more than likely become part of the standard anyway."

Regarding the technical bumps, Google was clear that the first version of the OpenSocial APIs, labeled 0.5, was far from final, and that it was putting it out in the market in order to get feedback from developers. Now, with version 0.7, Google says that developers can create production applications. Moreover, OpenSocial's technology will continue to improve. "If it turns out this round of OpenSocial provides good applications and we want to get to stellar applications, we'll enhance it," said David Glazer, an engineering director at Google.

The server-side REST API is also coming, but Google and its partners need to agree on the exact way it will be done, Chanezon said. "It will be super-useful for mobile applications," Chanezon said. Mobile phones whose browsers aren't powerful enough to run the OpenSocial Javascript APIs will take advantage of this REST API to get needed data from a server.

Google is also working on a security technology for OpenSocial applications called Caja, which the company calls an open-source Javascript "sanitizer" that aims to provide a security layer to prevent the spread of phishing scams, spam and malware via applications.
Also in the works is Shindig, an open-source reference implementation of OpenSocial overseen by The Apache Software Foundation, whose purpose is to let Web site operators implement an OpenSocial container in a matter of hours.

Meanwhile, Google's social-networking site Orkut will soon make available OpenSocial applications to its end-users, as will some of the other participating sites."That's what we're looking forward to: opening the doors and watching the party get started," Glazer said.

AOL's Userplane, a maker of Web-based communication applications, has been involved in the OpenSocial effort and is eager to see it continue to evolve, said Userplane CEO Michael Jones. "As application developers, we're excited about reducing the code we have to write, so I love the concept behind OpenSocial," Jones said.

"Although it has some uncertainties, I feel we're seeing an initiative that can have a great role in the future," Santos said.

No comments: