It’s funny: I have come to the opposite conclusion for the same reason.

The Good: getting 60fps interactions and animations in web apps using a proven 
approach (UI and interaction thread).  
The Ideal: also automatically serializing those apps for offline use.

While I very much want the ideal to exist, I wouldn’t be willing to risk the 
“good” for it. Or perhaps it is possible to have it all. I don’t understand the 
tradeoffs deeply enough to know.

If I had to prioritize, I would say that interactions and animations are the 
basis of competition for UI and will be as long as we’re using touch. We lag 
way behind there. With Service Workers, we now have parity in offline 
capability with native apps (serialize it yourself), even if practical usage 
lags behind.

---
Gordon Brander
Sr Design Strategist
Mozilla

On February 23, 2015 at 13:21:55 , Jonas Sicking 
(jo...@sicking.cc(mailto:jo...@sicking.cc)) wrote:

> On Mon, Feb 23, 2015 at 12:07 PM, Robert O'Callahan
> wrote:
> > On Tue, Feb 24, 2015 at 8:56 AM, Jonas Sicking wrote:
> >>
> >> On Mon, Feb 23, 2015 at 10:56 AM, Gavin Sharp  
> >> wrote:
> >> > What does it mean to "save your for later viewing"?
> >>
> >> In gmail it would mean saving the set of emails that you are currently
> >> looking at.
> >>
> >> For facebook it would mean the news-feed content that's currently on
> >> the screen, or the event invitation details that you are currently
> >> looking at.
> >>
> >> That's what we would get if we serialized the current DOM+CSS+images
> >> to disk without any additional smarts. And all of these seem useful
> >> for users.
> >
> >
> > If we serialize the current DOM + CSS + images and remove the scripts, we
> > will present something to the user which is little more than a screenshot.
> > Users will immediately try to interact with it and discover that's broken.
> > That's a bad experience.
> >
> > To present these in a non-broken way we must run page scripts. We should not
> > try to restrict the functionality of Web APIs for the sake of avoiding this.
>  
> I think this is letting perfect get in the way of good.
>  
> It's going to take many years before a majority of the websites that a
> given user uses to have made themselves "offlineable". I think waiting
> for that long is going to add a lot of risk to the web's chance of
> surviving the switch to mobile.
>  
> / Jonas
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to