Offline First – A Better HTML5 User Experience
joelambert.co.uk
Offline First – A Better HTML5 User Experience
1–10 of 150 posts
Re: Offline First – A Better HTML5 User Experience
#2Re: Offline First – A Better HTML5 User Experience
#3Re: Offline First – A Better HTML5 User Experience
#4Re: Offline First – A Better HTML5 User Experience
#5I sense a trend of trying to cram everything good about native apps onto the web. Do people who do this stop to think whether the web is actually the correct platform for their app?
Re: Offline First – A Better HTML5 User Experience
#6I sense a trend of trying to cram everything good about native apps onto the web. Do people who do this stop to think whether the web is actually the correct platform for their app?
Re: Offline First – A Better HTML5 User Experience
#7Also as a nitpick, I would say don't make your data objects SINGLETONS, make them SINGLE INSTANCE.
EDIT: someone deleted their comment but brought up a good point that you can have progressive enhancement with this. Yes, however the author made it clear he favors the JS or nothing approach. And there's even this snippet:
>An offline first approach would be to move the entire MVC stack into client side code (aka our app) and to turn our server side component into a data only JSON API.
Re: Offline First – A Better HTML5 User Experience
#8Doesn't Chome on iOS prevent this because it reloads whenever you re-open a page, even if you don't have an internet connection?
Re: Offline First – A Better HTML5 User Experience
#9Isn't it simpler though to just use static HTML + optional Javascript (like we used to in the 2000's eg. progressive enhancement years)? I mean why use M-V-whatever for content-driven sites at all?
The article is older but the advice is sound: only reach out to the server when you need to and ensure your client-side state doesn't break when you can't.
It's a little strange that they avoided naming any JS MV* frameworks even though some where out by then -- Backbone, Knockout, Ember, Angular, if I recall. But this article makes the point that all future JS MV* development went on to consider best practice in the years to follow.
Re: Offline First – A Better HTML5 User Experience
#10Isn't it simpler though to just use static HTML + optional Javascript (like we used to in the 2000's eg. progressive enhancement years)? I mean why use M-V-whatever for content-driven sites at all?