PWA starter kit: build fast, scalable, modern apps with Web Components (Google I/O '18)

Поділитися
Вставка
  • Опубліковано 1 жов 2024
  • Web Components are encapsulated, re-usable elements using just the web platform. But these APIs don't say much about how to turn components into fast and modern apps. Learn how Polymer has been honing methods for building apps out of Web Components by melding the best ideas from the community with new platform APIs. You'll leave this talk understanding how using a few simple patterns like Redux to wire components together enables building highly scalable apps on the web like never before.
    Rate this session by signing-in on the I/O website here → goo.gl/8rLYRx
    Watch more Chrome and Web sessions from I/O '18 here → goo.gl/5fgXhX
    See all the sessions from Google I/O '18 here → goo.gl/q1Tr8x
    Subscribe to the Chrome Developers channel → goo.gl/LLLNvf
    #io18 event: Google I/O 2018; re_ty: Publish; product: Chrome - General; fullname: Monica Dinculescu; event: Google I/O 2018;

КОМЕНТАРІ • 110

  • @dekutree5979
    @dekutree5979 6 років тому +66

    Google needs to buy Nintendo just so Monica can make references without worrying about copyright.

  • @FilmonGEMZ
    @FilmonGEMZ 4 роки тому +17

    The only thing I wished would change is the audience. There's almost no laughing or responses. Or maybe I can't hear it. In general though, I wish Tech audiences would be more encouraging to speakers.

  • @PavelIsp
    @PavelIsp 6 років тому +102

    Anyone notice that she's actually wearing the...BANANA PANTS?

    • @iamrohandatta
      @iamrohandatta 4 роки тому +2

      I thought the same the moment she says BANANA PANTS 😆

    • @lionelt.9124
      @lionelt.9124 3 роки тому +1

      @@iamrohandatta The expression banana pants is a new one on me.

  • @QLNPRSU
    @QLNPRSU 6 років тому +20

    pwa-starter-kit -> 658MB on disk (after npm install), 550+ npm packages. Why does all starter kits need to be so massive?

    • @BboyKeny
      @BboyKeny 5 років тому +1

      1 single asset for a game can be 1 gig during development of the asset, like a 3d model. But after the game is compiled, the asset is barely noticeable on the disk. So try building the pwa-starter-kit in that initial state ready for deployment. Tell me how big that production build is. Don't really care how big the software is before optimizations and building.

  • @MikeWiering
    @MikeWiering 6 років тому +38

    Good presentation, but I wish they would have placed that microphone better so she wouldn't be blowing into it all the time.

  • @debkanchan
    @debkanchan 6 років тому +18

    Her presentations are always great

  • @vinerz
    @vinerz 6 років тому +35

    What a fun and great presentation! Monica is the best!!!

  • @MrChetbox
    @MrChetbox 6 років тому +5

    Such a great talk! Fun and informative all the way through.

  • @xWe2s
    @xWe2s 6 років тому +10

    "The web is pretty great". Yea, we deserve that. How many horrific years we lived.

  • @FrederikDussault
    @FrederikDussault 6 років тому +6

    Polymer/pwa-starter-kit Github repo:
    github.com/Polymer/pwa-starter-kit

  • @cesar_chez
    @cesar_chez 4 роки тому +1

    So this talk is 90% about how a react-redux app works and 10% about the implementation of PWAs but with a cool presentation.

  • @CodingPhase
    @CodingPhase 6 років тому +10

    Yea i like here presentations its not boring very engaging

  • @martinrj30
    @martinrj30 6 років тому

    vid links (coz the slides didn't get published yet ...)
    github.com/polymer/pwa-starter-kit
    github.com/polymer/pwa-starter-kit/wiki
    github.com/polymer/lit-element
    github.com/polymer/pwa-helpers
    git clone pwa-starter-kit my-new-app
    npm install
    npm start
    npm test
    npm run build
    npm run serve
    npm run test:unit
    npm run test:integration
    npm run build:prpl-server
    npm run serve:prpl-server
    pwa-starter-kit.appspot.com

  • @arwahsapi
    @arwahsapi 5 років тому +3

    I'd wish I had public speaking skills like this!

  • @onetryckponi
    @onetryckponi Рік тому

    What's odd is that there is an earlier pitch from the Polymer team that has been taken down.... If this was 0.8 or 0.9, I wonder what 0.7 looked like?

  • @Virgus66
    @Virgus66 5 років тому +2

    Did she NOT mentioned about service workers at all????

  • @FrederikDussault
    @FrederikDussault 6 років тому +3

    Amazing presentation!!
    Developping has never been so fun. :-)

  • @valacebedo
    @valacebedo 3 роки тому

    Haha IE 11? I thought the IE has been replaced by Edge. IE sounds classic nowadays.😁

  • @ritizbehl6386
    @ritizbehl6386 6 років тому +8

    another React lol

  • @hobbyturystaSEO
    @hobbyturystaSEO 5 років тому +1

    PERFECT presentation WITH funky STYLE. braVVVooo!

  • @Mhblabla
    @Mhblabla 6 років тому +49

    Oh god. The Polymer team made a copy of React.

    • @Odisej1
      @Odisej1 6 років тому +2

      Marko Hrovatič I was thinking the same .... this is just React js

    • @marlonallansupetran7120
      @marlonallansupetran7120 6 років тому

      That's what I also thought!

    • @davidmaxwaterman
      @davidmaxwaterman 6 років тому +12

      Except not really, no.

    • @agentpx
      @agentpx 5 років тому +1

      Nope Polymer has been around before reactjs only back then it was too slow to be adapted (I used polymer before but abandoned using it because of too much files being added to my project hierarchy, similar to what node_modules but much worst). Then It was copied by facebook and called it reactJs and successfully made it faster and lite. Now Polymer is going back to where it started via PWA

  • @armujahid
    @armujahid 6 років тому +5

    Great idea to gamify PWA presentation :)

    • @CharlieRawlinson
      @CharlieRawlinson 4 роки тому

      @TheGameMakeGuy not according to the dictionary - "The application of typical elements of game playing (e.g. point scoring, competition with others, rules of play) to other areas of activity, typically as an online marketing technique to encourage engagement with a product or service.
      "
      It's also spelt 'gamification'.
      :)

  • @edwardmacnab354
    @edwardmacnab354 2 роки тому

    very google like----I mean office google--corporate google

  • @tudorhulban2817
    @tudorhulban2817 6 років тому +2

    would be nicer in vanilla

  • @wilhelmpaulm
    @wilhelmpaulm 4 роки тому +1

    I can't believe this is already 2 years ago

  • @haydenbraxton628
    @haydenbraxton628 6 років тому +4

    "That's banana pants" - I'm stealing this. Thank you!

  • @igeoerre
    @igeoerre 5 років тому +1

    I just met Monica and I'm already "My God, she understands what I need!" Congratulations on the way you engage the audience, you are awesome
    .

  • @NuncNuncNuncNunc
    @NuncNuncNuncNunc 5 років тому +1

    If only there were 'the one good datepicker'

  • @wendelldejelo7944
    @wendelldejelo7944 6 років тому +11

    always love monica's presentation!

  • @julian_pp
    @julian_pp 6 років тому +1

    Thank you, it's very useful

  • @whatthefunction9140
    @whatthefunction9140 3 роки тому

    What ever happened to polymer?

  • @sorsai573
    @sorsai573 4 роки тому +2

    This women is great and presentation was perfect. Not like many other. This is one of the best PWA video.

  • @EdmundCiegoBelize
    @EdmundCiegoBelize 6 років тому +36

    who says banana pants??

    • @andrewtfluck
      @andrewtfluck 6 років тому +2

      only the best :P

    • @jamiemaher2341
      @jamiemaher2341 6 років тому +2

      It sounds like one of those things where someone tells you to squeeze a funny word into your presentation without anyone noticing. Someone must have told her to say it because of her trousers.

    • @chucksupport
      @chucksupport 6 років тому +2

      someone who wears Banana pants

    • @JimTipping
      @JimTipping 6 років тому +3

      Someone *wearing* banana pants!

    • @SirFaceFone
      @SirFaceFone 6 років тому +2

      Banana PWAnts

  • @TrueSQN
    @TrueSQN 2 роки тому

    I love that presentation

  • @bretts7740
    @bretts7740 3 роки тому

    ABC: Always Be Closing.

  • @chakree100
    @chakree100 6 років тому

    I don’t know may be I’m new to PWA may be but majority of it bounced over! Can anyone refer me to any prerequisite content if possible? I’m new to polymer as well!

  • @chunckyfreshnut
    @chunckyfreshnut 5 років тому

    Some many things to install . I am not sure why they killed off angular 1? It so much easier to use and learn. Make it easy for people to learn how to use.

  • @dancovrboski9135
    @dancovrboski9135 Рік тому

    Сточе. Оти. Ме. Офрливте дансо врбоски

  • @xman0820
    @xman0820 5 років тому

    Is there any Update in Google I/O '19?

  • @montesajudy
    @montesajudy 6 років тому +1

    "mouth sound, it will get you anywhere" hmmmmm.

  • @H0LDENSUX
    @H0LDENSUX 4 роки тому

    A game. Great. Lead down another garden path of programming ambiguity.

  • @filipkovac767
    @filipkovac767 4 роки тому

    lol start in seconds? npm i takes like 3-20 min on my machine....

  • @stereopticon
    @stereopticon 6 років тому +2

    Was watching this for content, very engaging speaker, enjoying the presentation, communication skills. Working from home. Then, I noticed my 12 yr old daughter watching over my shoulder, entranced. She's a huge Zelda fan, BTW.

  • @rw7799
    @rw7799 6 років тому +1

    just checked site out,,what is redux? go to redux page.... read it..repeat question.. what is redux?

    • @BrianMuthomi
      @BrianMuthomi 6 років тому

      wait a couple of days, visit redux page ...read .... what is redux?

  • @boot-strapper
    @boot-strapper 5 років тому +3

    looks like reinventing the react wheel

    • @citisolo1
      @citisolo1 5 років тому +2

      ten minutes in and im like, wait a minute ...

  • @vivekkaushik9508
    @vivekkaushik9508 4 роки тому

    She talks ALOT! I like her already.

  • @albiceleste101
    @albiceleste101 6 років тому

    I do like them but why is google trying to push PWAs so hard

  • @GlenSmith
    @GlenSmith 6 років тому

    Nutella on Pancakes :) sweet video & very inspirational for the Polymer Project.

  • @ankitmaheshwari3643
    @ankitmaheshwari3643 6 років тому

    Web components are not available at webcomponents.org for Polymer 3.
    From where do we use components to design pages.?

  • @ReidMewborne
    @ReidMewborne 6 років тому

    haven't seen support for safari yet. could you expand on this? thanks

  • @johnpage5500
    @johnpage5500 6 років тому

    Wouldn't it be great if prpl-server were included in Firebase static hosting? I'd just upload a builds.json, a push-manifest.json and a cache-control.json and everything would be properly handled.

    • @visitforthemusic
      @visitforthemusic 6 років тому

      I imagine it is a cost thing at the moment - but I agree that is the next area which needs to be tackled as "static" hosting isn't really enough and I am sure it is being considered.
      Following all performance best practices (optimising critical path, progressive transpilation, effective caching strategies) and getting SSR, HTTP/2 push, offline caching with service workers, all singing in harmony is a lovely vision but at present seems to involve masses of complexity and coordination between build, deployment and hosting processes.
      Cloudflare Workers are the closest thing of which I am aware to this vision - in so much as they allow for custom logic to run for each and every request to a traditionally "static" CDN: blog.cloudflare.com/cloudflare-workers-unleashed.

  • @NicolasSauveur
    @NicolasSauveur 6 років тому

    Thank you Monica for another great presentation. Can't wait to try pwa-starter-kit for my side-projects.

  • @d4m1n
    @d4m1n 6 років тому +8

    Awesome 🔥! I think this is a great on-boarding resource for new Web Developers. Friendly and to the point, thank you Monica!

  • @FrederikDussault
    @FrederikDussault 6 років тому

    Please add links to github repos. Thanks

  • @JoeWong81
    @JoeWong81 6 років тому

    Love the analogy to video games...And now I remember how awesome the Zelda games are.

  • @danf1862
    @danf1862 6 років тому

    Thanks Monica and the Polymer team! I can't wait to get crackin on the new starter kit

  • @SeaJay_Oceans
    @SeaJay_Oceans 3 роки тому

    Excellent Presentation

  • @reddyashok9
    @reddyashok9 6 років тому +6

    Great presentation 👍

  • @FilipMatuszewski
    @FilipMatuszewski 6 років тому

    How to use typescript with this awesome starter kit.

  • @bd8063
    @bd8063 4 роки тому

    Is that React ?

  • @MrJohn360
    @MrJohn360 6 років тому

    Damn, that's neat advice and fun to watch.

  • @kanaillaurent526
    @kanaillaurent526 4 роки тому

    Can we tdd?

  • @nevillelusimba1689
    @nevillelusimba1689 6 років тому

    3:1, awesome analogy. ABC

  • @abanoubhanna7175
    @abanoubhanna7175 6 років тому

    WoOoOoOoOoOoW G R E A T P R E S E N T A T I O N !

  • @noiJadisCailleach
    @noiJadisCailleach 6 років тому +5

    I got turned off when i saw html code inside the js. I really don't like it.

    • @andyedwards9011
      @andyedwards9011 6 років тому

      Well, have fun making intricate, dynamic web pages and components without HTML inside JS. React went this way, and now Polymer followed its lead, because it's an extremely effective way to render dynamic content.

  • @vincepalejr6621
    @vincepalejr6621 6 років тому

    Lol Banana Pants.. You're wearing banana pants.

  • @TechdubberStudios
    @TechdubberStudios 5 років тому +1

    This is one of those moments when I'm proud to be romanian :))

  • @DreadKnight666
    @DreadKnight666 5 років тому

    Cool! Du du du du du, boop boop boop!

  • @codinggames8672
    @codinggames8672 6 років тому

    I like chrome

  • @kikobeats
    @kikobeats 6 років тому

    Monica rocks

  • @JasonFavrod1
    @JasonFavrod1 6 років тому +1

    IDK, i think she was talking too fast.

  • @Gerrymon
    @Gerrymon 6 років тому

    1:58 lol yeah that's me~

  • @oleggorbatiuk4029
    @oleggorbatiuk4029 6 років тому

    Очень круто!)

  • @JuanCarlosMadrigal
    @JuanCarlosMadrigal 6 років тому

    Always love the Monica's presentations, they're always fun, like this one with the video game and the sounds like Mario Bros. she made for it, but more important, they're also so much informative, really cool presentation!

  • @random-code1
    @random-code1 6 років тому

    So by the chart, 0 effort would have a good result as well 🤔 nice

  • @CopernicoTube
    @CopernicoTube 6 років тому +1

    Still waiting for a web solution that allow web applications to be reliable and simple to develop out the box, as desktop/mobile or even server side does.
    The old Polymer make this promise and fail, miserably.
    I think that we should abandon web applications for good (utopia, I know) as the issue of updatable local apps was solved on mobile.

  • @lzantal
    @lzantal 6 років тому

    She is an incredible speaker. Super engaging speaker.

  • @uphumor9128
    @uphumor9128 6 років тому

    hahahhaha - that was funny

  • @kamalabuhenamostafa
    @kamalabuhenamostafa 6 років тому

    Nice to see you again, Monica.

  • @heratpatel7174
    @heratpatel7174 6 років тому +1

    Hi why we need Lit html. There is React jsx works same as Lit Html.

    • @jonaseriksson5750
      @jonaseriksson5750 6 років тому +6

      Benefits over JSX
      Native syntax
      No tooling required. Understood by all JS editors and tools.
      No VDOM overhead
      lit-html only re-renders the dynamic parts of a template, so it doesn't produce a VDOM tree of the entire template contents, it just produces new values for each expression. By completely skipping static template parts, it saves work.
      Scoped
      JSX requires that the compiler be configured with the function to compile tags to. You can't mix two different JSX configurations in the same file.
      The html template tag is just a variable, probably an imported function. You can have any number of similar functions in the same JS scope, or set html to different implementations.
      Templates are values
      JSX translates to function calls, and can't be manipulated on a per-template basis at runtime. lit-html produces a template object at runtime, which can be further processed by libraries like ShadyCSS.
      CSS-compatible syntax
      Because template literals use ${} as the expression delimiter, CSS's use of {} isn't interpreted as an expression. You can include style tags in your templates as you would expect:
      html`
      :host {
      background: burlywood;
      }
      `github.com/Polymer/lit-html

  • @Fik0n
    @Fik0n 6 років тому

    What about iOS support?

  • @jf-rr3gz
    @jf-rr3gz 6 років тому +1

    Are you targeting "adults" with this presentation? I made it to about 8 minutes - is that good?

  • @youtube.com-handle
    @youtube.com-handle 4 роки тому

    Lit