Jake (one of the originators of Service Workers) shares the future of the web app model, with Foreign Fetch, Streams and more.
Watch more recordings from Chrome Dev Summit ’16 at: goo.gl/TkgXYM
Subscribe to the channel: www.youtube.com/chromedevelopers
Music by Terra Monk: goo.gl/xolmTV
34 Comments on "Future App Model: Advanced Service Worker (Chrome Dev Summit 2016)"
Hold on… Why is no one talking about the interlaced video?
This video thumbnail is a work of art 👌(+ cracks me up every time)
I fink you should learn to pronounce 'think'.Also, wha' happened to all those ts (stah' saying them and you will sound be'h'er).
Polymorphic webapps kinda solve the spa issues, right? Also, breaking an spa into lazy/preloaded modules makes 1st paint insanely fast. See Angular2 router for example.
If this solution leaves the user with a load of buttons etc that don't work (until the script finally kicks in), it isn't a good solution. Also, once the SPA does kick in, it can be slower when it comes to navigating. See the real-world github example in the talk.
Jake wears sexy socks:
At 33:45 that's a non starter for me, by waiting 1000 milliseconds the animation is non-interruptible. So if the user hit back after 500 milliseconds, it would either break or appear laggy. Laggy animations are worse than no animations. Checkout 'react-motion', there's no time limits, I think it's a much better way to approach animations.
I just meant if you have to calculate any sort of duration for an animation it runs counter intuitive to animations imo. Really I was nit picking a small detail from an excellent talk, cheers.
I think there's some confusion or crossed wires here. In the example I showed the fade transition is 1 second long, but that's only an example. You could calculate these numbers however you want. You could for instance say "if the document has been active less than 2 seconds, don't transition", or calculate durations based on distance – you're writing the script, you can do what you want.What to do if a navigation is triggered during a navigation transition is an interesting question, I've filed github.com/jakearchibald/navigation-transitions/issues/12 so we come up with a solution.
Fantastic talk 🙂
my bugbear with service worker is the need for https
b j yeah it's mindblowing!
indeed it is a very nice service – managed to set it up and keep my hair!
fair enough and thanks for the heads up.
b j well companies like Google support it, so don't think there are issues I use it and it rocks
thanks – however in this case – one could say that running "certbot" on the server creates a larger potential security compromise than the ability to cache squirrel pics using service worker via http.
letsencrypt.org It will change your life
Seriously brilliant talk.
are you holding a Wii remote in your hand?
Jake Archibald awesome! 😀
Tom cheaper to use the Bluetooth device I already own than buy a dedicated clicker 😁
Jake Archibald but but why? 😀 are you using the infrared to control your PC?
In CodeChannels.com, you can learn to code by watching videos and stay up to date with latest code shows, events and tutorials aggregated from various leading developer communities.
Copyright 2016 By CodeChannels.com All rights reserved.