News for hackers. Stuff that matters.

joelambert

Re:Offline First – A Better HTML5 User Experience on Friday December 23, 2016 @02:32PM (#13246755)
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.

Re:Offline First – A better HTML5 User Experience on Tuesday November 27, 2012 @06:15AM (#4836643)
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.
Re:Offline First – A better HTML5 User Experience on Tuesday November 27, 2012 @04:35AM (#4836390)
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.

Re:Show HN: Data Collection made super simple - FormAgent on Tuesday September 25, 2012 @01:03PM (#4571395)
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.