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
29 Comments on "Future App Model: Advanced Service Worker (Chrome Dev Summit 2016)"
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
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?
Neat.Also, I like the idea of using a Wiimote as a cheaper solution to the clicker. It looks neater too, can anyone explain it?
mattrick d-pad is mapped to arrows, but trigger button is mapped to space, which I use as "move forward with animation". i'm using darwiimote, but I think there are better tools, and yeah glovepie is ace on Windows
I think the way it works is that he's mapped the D-pad on the Wiimote to the arrow keys on his computer using something like GlovePIE (Google it). The Wiimote can connect to computers using Bluetooth (its fairly easy to do, Google it ;D).
Zane Hannan didnt even notice that lol
Can I buy tickets for future travel?www.arrivatrainswales.co.uk/FAQ/Can-I-buy-train-tickets-for-future-travel-at-the-station-booking-office-open/
You did it. You actually fucking did it. Look at you all dressed up talking about V1.
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.