Feeds

Yahoo!: the future is HTML5 (plus native code)

Whatever Google says

Secure remote control for conventional and virtual desktops

For Yahoo!, the future of mobile applications is HTML5. But that doesn't mean they'll run solely on the web.

"I think you'll always have [mobile] applications with native components because you'll have some elements where native will be better optimized," Sandeep Gupta, the man who oversees Yahoo!'s mobile app development, tells The Reg. "Applications will get more and more complex — especially for devices like the iPad — so you'll have more and more pages and elements. The demands are going to be greater.

"I don't think you want to hamstring yourself to a particular language for the sake of it. You want to use the right tool for the job. HTML5 works very well for content and navigation, but native will give you access to certain hardware features and effects you can't do purely with HTML5."

Next to Google's all-web-all-the-time rhetoric, this is a welcome taste of reality.

Even when Yahoo! does opt for a pure web application, it's considering the possibility of distributing such tools through existing mobile app stores, such as the Apple App Store and Google's Android Market, places that offer, yes, thousands of downloadable applications. This amounts to Yahoo! uploading little more than url links to these marketplaces, which have become the main avenue for locating mobile services.

Yahoo! just unveiled new HTML5 incarnations of its Yahoo! Mail and Yahoo! News services for the iPhone and the iPod touch, and though these have no native components — they operate solely inside the browser — the company may distribute them (or, rather, links to them) through the Apple App Store. "This is something we're talking about," Gupta says. "There's some question about whether the user will appreciate this."

Regardless, Yahoo! — one of the web's most visited destinations — will continue to straddle the line between web apps and native apps. On the iPad, Yahoo! offers a native Entertainment application for viewing all sorts of Yahoo! web content, including television listings, videos, news, comics, and book reviews.

"With Entertainment, we pre-generate a bunch of HTML5 templates and store them locally on the device," Gupta explains. "So that when we want to load a page, we don't have to download all the formatting for the page, just the content. All the chrome and the imagery [framing the content] is already there, and the raw text and content can come down much quicker."

As the company uncloaked its purely web-based Mail and News apps for the iPhone and iPod touch, it also introduced native versions of Mail and its Yahoo! Messenger for Android phones. But this is more of a temporary measure. Though the latest version of Android — 2.2, aka Froyo — offers a much-improved browser, Gupta says, earlier versions of its WebKit engine aren't quite suited to pure HTML5. Yes, following Google's lead, he's using HTML5 as a catch-all term for all sorts of modern web standards, including HTML5, CSS, and JavaScript.

"Android is a bit trickier only because its WebKit rendering pipeline isn't as efficient. But 2.2 is a big step forward."

With the arrival of Android 2.2, Yahoo! is planning purely web-based versions of Mail and other apps for the platform. And it's working on similar versions for the iPad.

Yes, even with pure web apps, code must be tailored for specific devices. "We do a lot of customization to render specifically for the display," Gupta says. "Not only to control look and feel but also formatting and font size. These kinds of things are specific to the device."

But the differences between browsers, Gupta says, is shrinking — even when it comes to disparate HTML5 implementations. "Everyone is pretty much moving to WebKit," he says. "That makes our life a lot easier."

No love for Firefox and Opera then — let alone IE9. But in addition to Apple and Google, RIM BlackBerry and Nokia have opted for WebKit. No word on when exactly Yahoo!'s "HTML5" apps for Android and iPad will arrive. But the company tells us "soon." ®

The essential guide to IT transformation

More from The Register

next story
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
China hopes home-grown OS will oust Microsoft
Doesn't much like Apple or Google, either
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
Microsoft cries UNINSTALL in the wake of Blue Screens of Death™
Cache crash causes contained choloric calamity
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Linux kernel devs made to finger their dongles before contributing code
Two-factor auth enabled for Kernel.org repositories
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.
5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
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?