Feeds

Yahoo!'s web-wide query language learns to write

Missing SQL verbs no longer missing

Intelligent flash storage arrays

Yahoo!'s SQL-like web query language just learned to write.

Wednesday, the web giant added a trio of previously absent SQL verbs to its nine-month-old Yahoo! Query Language (YQL), an umbrella API that lets app developers query, filter, and join data across disparate web services offered up by Yahoo! and the web at large. With the addition of INSERT, UPDATE, and DELETE, your web apps can now write and modify data via YQL - not just read it.

"These were our language's three missing SQL verbs," YQL product lead Jonathan Trevor tells The Reg. "Now developers can modify data on the web as well as consume it." For example, Trevor says, you can now use YQL not only to receive Tweets via Twitter's API but also send them. Likewise, you can not only read comments from a blog but also post them. You can not only grab data from a remote database but also store it.

The Yahoo! Query Language made its debut in October as part of what the company insists on calling Y!OS 1.0. This marketing-speak umbrella also covers the Yahoo! Social Platform (a set of social-networking APIs) and the Yahoo! Application Platform (a means of distributing your applications via Yahoo!'s various web properties).

YQL provides a common API for tapping data offered up not only by Yahoo!'s own services - including, say, its Flickr photo-sharing tool - but also by third-party web services and data stores. As the name implies, the syntax mimics SQL.

"We picked an SQL-like syntax that enables people to query, filter, and join data across web services, across the internet," Trevor said. "Rather than thinking about specific databases, we're thinking about an SQL-like language that treats the internet as one big database."

Yahoo! makes the API available as its own web service. "We do all the work, so you don't have to worry about parallel requests and network requests and so on. That's all done by our hosting platform." The service includes a web console here (sign-in required), where you can browse example queries and test your own.

When YQL debuted, it was limited to Yahoo!'s own services and generic data sources such as RSS feeds and HTML pages. But earlier this year, Yahoo! unveiled what it called Open Data Tables, which lets anyone create XML tables that extend the API to all sorts of other web services. These then get uploaded to Yahoo!'s platform so that anyone can use them.

YQL also lets you add server-side code to these Open Data Tables. "Open Data Table developers can now add JavaScript into their table definitions," Trevor says. "When we use the table in the system, we can run the code to do the work connecting to the remote data source. The upshot is you get the ability to aggregate data sources. You can combine multiple data sources into one single table where it's logical."

One existing table, for instance, grabs data from text web searches with image search results. "You can query, say, Madonna, and you get this combined results that includes both images and text."

Yahoo! now provides access to about 25 web APIs by default, but if you include Open Data Tables, you can tap about 200 more data sources, including Twitter, Yelp, The New York Times, and Microsoft Bing. "Any data-source provider can effectively be brought into this language that developers can be familiar with."

How many developers have achieved familiarity? Trevor isn't quite sure. But he says it's now widely used within Yahoo! itself. ®

Internet Security Threat Report 2014

More from The Register

next story
PEAK APPLE: iOS 8 is least popular Cupertino mobile OS in all of HUMAN HISTORY
'Nerd release' finally staggers past 50 per cent adoption
Microsoft to bake Skype into IE, without plugins
Redmond thinks the Object Real-Time Communications API for WebRTC is ready to roll
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Mozilla: Spidermonkey ATE Apple's JavaScriptCore, THRASHED Google V8
Moz man claims the win on rivals' own benchmarks
Yes, Virginia, there IS a W3C HTML5 standard – as of now, that is
You asked for it! You begged for it! Then you gave up! And now it's HERE!
FTDI yanks chip-bricking driver from Windows Update, vows to fight on
Next driver to battle fake chips with 'non-invasive' methods
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Ubuntu 14.10 tries pulling a Steve Ballmer on cloudy offerings
Oi, Windows, centOS and openSUSE – behave, we're all friends here
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.
The Heartbleed Bug: how to protect your business with Symantec
What happens when the next Heartbleed (or worse) comes along, and what can you do to weather another chapter in an all-too-familiar string of debilitating attacks?