Better HN
topnewbestaskshowjobs
Log inSign up

joelambert

31 karma · joined Feb 13, 2012 (14y ago) · 5 submissions

Submissions

comment 9y ago · link · parent

Wow, cool to see this resurface again! I wrote this ~4 years ago and the web has come on along way in that time. New features such as service workers are definitely making offline a lot easier.

On the subject of progressive enhancement, I'm a huge advocate and believe it is in general the way todo content sites. As has been pointed out above though, some use cases do require a different approach. For context this was post was written after working on a number of HTML5 apps that were wrapped in Cordova/PhoneGap.

comment 14y ago · link · parent

It's still quite tricky to to detect a reliable 'offline' state with HTML5. Using navigator.onLine tells you that you 'might have' internet access but even then you may actually be offline. Bu I agree that the most important issue is how to communicate the degradation to the end user.

comment 14y ago · link · parent

Its definitely worthwhile, web apps are becoming richer all the time. Even if new content can't be retrieved, as a user I expect to be able to access/consume data the app has already presented.

I'd argue the development is no more difficult either, in fact it lends itself to a style that is easier to unit test.

comment 14y ago · link · parent

Thanks for linking, we would love to get peoples feedback on this.

Some info about how this is built, for those interested...

We're using HTML5/Phonegap/Cordova (and our own bespoke mobile JavaScript framework) to enable us to target all the major mobile platforms at launch, including iOS/Android & BlackBerry Playbook. Our app has the ability to run offline for data collection in un-connected areas and the online portal makes it super simple to author and provision forms.

5.

CSS 3D Transforms - The differences between Firefox & WebKit(blog.joelambert.co.uk ↗)

2 points · by joelambert · 14y ago · discuss