Feeds

Google brews mashier OpenSocial language

For all your Web 2.0 ills - except people and Facebook

The Power of One Brief: Top reasons to choose HP BladeSystem

Google I/O A decision on whether to press ahead with a re-usable architecture from Google to simplify the development of applications spanning multiple social networks is due in the next few days.

Members of Google's OpenSocial project are next week expected to vote on a proposal for a new template language that'll be used to build tags for use with OpenSocial. OpenSocial defines common APIs for applications across multiple sites using JavaScript and XML.

Google told its I/O conference Thursday tags will assist in development of applications that pull in data and feeds from different social networks such as MySpace and contacts-database-in-the-sky LinkedIn. It'll also lock down Web 2.0 apps against cross-site scripting (XXS), the company claimed.

Google's hope is for a core set of between five and 10 tags to eventually be devised and that these will be used to measure compliance of developers' applications with the OpenSocial specification. The search giant expects a community of non-core tags to also evolve.

Explaining the tags, Google OpenSocial developer Evan Gilbert said they could specify the position of a picture in a social network page or a user's account data could be displayed when somebody reading the page mouses over the picture.

Tags will, according to Gilbert who proposed the templates idea, reduce the amount of code needed for development, and will see HTML rendered by the social network rather than the browser. In a demo 18 lines of HTML were shrunk to six after they'd been run through a tag. Tags will also speed performance, by offering sever-side optimizations that batch-up requests to the server instead of issuing them individually.

As to security, Gilbert promised tags would be completely free of XXS problems. That is unless - of course - "developers work explicitly around XXS protections". Oh, yeah - that old thing: people doing stuff with the technology the inventor hadn't intended.

XXS is a huge swinging door in Web 2.0 applications that nobody seems willing to acknowledge is wide open at evangelical events like Google's two-day I/O conference.

It's also not clear when this programming manna will descend from Heaven.

This being the Google community - where things emerge organically and software is in permanent beta - there's nothing so fascist as an OpenSocial roadmap. Also, a "yes" vote would only open the door to the next phase - building the language. A spec and implementation are expected on, or after, June 9.

David Glazer, Google's director of engineering, told I/O the plan had been for inclusion in OpenSocial 0.8 but that specification is now finished - if the implementation is not actually stable. Glazer told Reg Dev the language could appear in 0.9.

Meanwhile, it seems the Apache Software Foundation's Shindig incubator project, building an open source social network architecture based on OpenSocial, will use version 8.0 of the API. Shindig is almost completely manned by Google engineers. Glazer said Shindig is "more than half-way" towards compliance with OpenSocial 0.8.

Google product manager Dan Peterson predicted social networks would continue to use version 0.7 of OpenSocial for a while, unless they want RESTful API development right away. RESTful APIs were featured in version 8.0. Those who do want REST will move to the new OpenSocial during the next few months, he said.

Those committed to OpenSocial include AOL which this week announced it's going to adopt OpenSocial on myAOL.com. AOL joins LinkedIn, MySpace and Marc Andreessen's Ning among a mish-mash-up of others committed to OpenSocial.

Missing from this hit list is teen social networking sensation Facebook, which has been sparring with Google over the ability of the search giant's Friend Connect service to suck out its users' details.®

Seven Steps to Software Security

More from The Register

next story
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.