InformationWeek: The Business Value of Technology

InformationWeek: The Business Value of Technology
e2 Conference & Expo - Boston 2013
= Member Content
Facebook Twitter Share

E-mail | Print | Permalink | LinkedIn | RSS

Google Releases Realtime API For Drive Apps


Developers creating apps that interact with Google Drive now have a simple way to integrate real-time collaboration.




Google has released a new application programming interface (API) that allows developers to implement real-time collaboration in Google Drive apps.

Users of Google Docs, as well as Spreadsheets and Slides, now have the ability to edit a document at the same time others are doing so, and each can see the changes input by collaborators in real time. This is made possible by a technology called operational transformation, also featured in the now-discontinued Google Wave, which ensures the rapid transference of changes over a network.

Now developers who create apps that rely on Google Drive for storage can provide their users with the ability to interact and work together in real time.

"With the new Google Drive Realtime API, you can now easily add some of the same real-time collaboration that powers Google Drive to your own apps," explained Brian Cairns, a software engineer at Google, in a blog post. "This new API handles network communication, storage, presence, conflict resolution and other collaborative details so you can focus on building great apps."

[ How should Apple compete against rivals like Google and Samsung? Read Is Apple Losing War Of Words? ]

The makers of three apps have already integrated the Google Drive Realtime API into their code.

One is Neutron Drive, an online code editor. Using Google's Realtime API, Neutron Drive allows multiple programmers to make changes to the same file at the same time. Version control systems like Git allow a similar sort of collaboration, but not in real time -- changes to code stored in a Git repository must be merged, which may create conflicting versions of a file if the same lines of the program were revised by different collaborators. These conflicts can be reconciled, but real-time collaboration provides a way to avoid conflicts on the fly.

Paul Bailey, the developer who created Neutron Drive, said in an email that he found the API to be extremely useful because it makes adding real-time features so easy. "I think you'll see a new wave of apps that will use this technology," he said. "Before this API, I struggled with how to implement real-time features into Neutron Drive and now Google has made this easy and scalable -- two of the best things a developer likes to hear."

Bailey acknowledged that not everyone needs real-time collaboration capabilities. "A lot of developers are lone rangers who code by themselves," he said. "So for them, it probably won't make much of a difference. However, others like to pair program or may need help from a friend."

He also said he expects real-time collaboration will be useful in apps for students and teachers.

The two other apps that have been updated to utilize the Drive Realtime API are Gantter, a free online project-scheduling tool and diagram editor, and draw.io, a diagramming application.

In addition, Google has created a collaborative colored cube puzzle -- a Rubik's Cube for those not concerned about trademark lawsuits -- to demonstrate how frustrating it can be to have multiple people all trying to solve the same puzzle.

Those committed to investigating the technology further can stop by the Drive Realtime API Playground and the Google Drive Realtime API technical documentation.

Attend Interop Las Vegas May 6-10 and learn the emerging trends in information risk management and security. Use Priority Code MPIWK by March 22 to save an additional $200 off the early bird discount on All Access and Conference Passes. Join us in Las Vegas for access to 125+ workshops and conference classes, 300+ exhibiting companies, and the latest technology. Register today!

Federal agencies must eliminate 800 data centers over the next five years. Find how they plan to do it in the new all-digital issue of InformationWeek Government. Download it now (registration required).




InformationWeek encourages readers to engage in spirited, healthy debate, including taking us to task. However, InformationWeek moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. InformationWeek further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS


Advertisement


InformationWeek Reports

report Cloud Implementer's Checklist
Once your agency has completed the business case for a private cloud, how do you actually move ahead with your data center transformation? Our report provides a practical set of steps to get you there, including a "to do" list that will be helpful to anyone on your IT team who's involved in the project. By the time you're done, your data center should be home to a more flexible, on-demand IT services.

report Cloud Compliance in Government
Compute clouds created for government data centers must adhere to a range of specifications designed to support data and system security, privacy, and governance. FISMA, HIPAA, SOX, and SAS 70 are just some of the requirements that have to be taken into account as federal IT pros deploy a shared-services cloud model. In this report, we identify the key specs that need to be factored into any federal cloud architecture.

report Government Cloud Platform Strategy
This report analyzes the key IT infrastructure considerations that must be taken into account for implementing cloud services in federal data centers: software/hardware environment, multi-tenancy, security, virtualization, and management tools. We also explain the key important role that APIs play in supporting hybrid scenarios that tap into public cloud services.

report The Business Case for Government Clouds
This report assesses usage scenarios, barriers, and other variables that factor into the decision of whether and how to implement cloud computing in federal environments.