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

Secure remote control for conventional and virtual desktops

More from The Register

next story
Euro Parliament VOTES to BREAK UP GOOGLE. Er, OK then
It CANNA do it, captain.They DON'T have the POWER!
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
NSA SOURCE CODE LEAK: Information slurp tools to appear online
Now you can run your own intelligence agency
Post-Microsoft, post-PC programming: The portable REVOLUTION
Code jockeys: count up and grab your fabulous tablets
Twitter App Graph exposes smartphone spyware feature
You don't want everyone to compile app lists from your fondleware? BAD LUCK
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
prev story

Whitepapers

Designing and building an open ITOA architecture
Learn about a new IT data taxonomy defined by the four data sources of IT visibility: wire, machine, agent, and synthetic data sets.
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.
10 threats to successful enterprise endpoint backup
10 threats to a successful backup including issues with BYOD, slow backups and ineffective security.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
10 ways wire data helps conquer IT complexity
IT teams can automatically detect problems across the IT environment, spot data theft, select unique pieces of transaction payloads to send to a data source, and more.