Menu

Die, Native Apps, Die!

Recently, I've been telling anyone who will listen that you should consider writing an HTML5 web app rather than a native mobile app. The advantages are many and the list of things you can't do grows smaller by the day.

Why choose web apps over native apps?

You only have to implement it once, in one language (counting HTML, CSS, and JS as one language of course)

You can choose what to charge and how to charge it

Done properly, web apps work on all devices - even those that don't exist yet

But they're slow!

Well no, not necessarily. I blame Facebook for this misconception.

Facebook famously released an HTML5-based app for iOS and then ditched it in favour of a native app to squeeze more performance out. After all the reporting, the emergent mainstream view was that HTML5 apps simply couldn't perform. In reality, the new release was a refresh using a technology closer to the metal as a reaction to consumers screaming out for performance above all else. Let's face it, Facebook is not a trivial app in terms of bandwidth and content. There's a fair bit going on with photos, chat, notifications, etc.

Could Facebook have made the app faster while still using HTML5? Almost certainly, and if they'd leveraged newer HTML5 capabilities as they became available, there definitely would have been improvements.

But would it have appeased the masses? Maybe, but we'll never really know.

I say "surprisingly" because Apple has a very captive market in terms of native apps. True or not, the perception exists that neither Android nor Windows Phone have the same quality of apps available in their stores. Certainly they don't have the quantity. Why then would Apple implement functions in Safari that pave the way for native-quality web apps? It's a good question, and I'm not sure I have the answer. Maybe it's just the constant drive to stay in front.

Grooveshark

Very recently, Grooveshark rolled out a fully-functional HTML5 version of their site that works beautifully on mobile devices. They've been plagued by problems getting native apps into the official app stores, and this option allows them to bypass the problem altogether.

It's a truly impressive piece of engineering. If you have a ... well... anything... I strongly suggest you go and try it out. There are some amazing features. For example, (On iOS at least) you don't even have to keep the browser window open for the music to keep playing.

One small thing... I'd love to see them implement some of the meta and link tags that Apple has made available for iOS devices. For an example, try adding http://www.devnewsreader.com to your home screen on an iPhone or iPad (warning, it's quick-demo quality).

Despite being a company that focuses on something not traditionally offered via a web page (streaming music), Grooveshark has chosen HTML5 as the right way to go. Before sinking time and money into developing native apps for multiple platforms, it's worth considering whether your app might be a good candidate for a web app as well.

Grooveshark may not be the first high-profile name to try to escape the walled-garden of native apps, but moves like this definitely show the blood in the water (pun totally intended and awesome).