Feeds

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

Whatever Google says

Top 5 reasons to deploy VMware with Tegile

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." ®

Security for virtualized datacentres

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

Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
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?
Top 5 reasons to deploy VMware with Tegile
Data demand and the rise of virtualization is challenging IT teams to deliver storage performance, scalability and capacity that can keep up, while maximizing efficiency.
Protecting against web application threats using SSL
SSL encryption can protect server‐to‐server communications, client devices, cloud resources, and other endpoints in order to help prevent the risk of data loss and losing customer trust.