Breno Gazzola - Propshaft and the Modern Asset Pipeline - Rails World 2023

Sdílet
Vložit
  • čas přidán 18. 10. 2023
  • Breno Gazzola, Co-Founder & CTO of FestaLab, discusses Propshaft, the heart of the new asset pipeline introduced in Rails 7.
    Rails 7 brought with it an overhauled asset pipeline that delivered a default “no-Node” approach to front end and improved support for modern bundlers like esbuild. This is great for developers as we are constantly searching for ways to make the development process more pleasant and to deliver better user experiences.
    However, the introduction of multiple gems that seem to have overlapping features has left many of you confused about how to take advantage of everything that Rails 7 has to offer.
    You want to make sure that when you create your next app, or update an existing one, you are making the correct choice and will not have to go back and redo a large part of your frontend. But to make that decision we have to understand what makes the new asset pipeline so different from the previous one.
    Links:
    rubyonrails.org/
    github.com/rails/propshaft
    world.hey.com/dhh/introducing...
    github.com/rails/propshaft/bl...
    discuss.rubyonrails.org/t/gui...
    #RailsWorld #rubyonrails #rails #Rails7 #opensource #propshaft #asssetpipeline #rubygem
    Thank you Dell APEX for sponsoring the editing and post-production of these videos.Visit them at: dell.com/APEX

Komentáře • 16

  • @duckHuntDano
    @duckHuntDano Před měsícem

    Dreams come true. Sprockets served us well for a long while but its time for Propshaft

  • @pedrohenriquehamzehtolenti6572
    @pedrohenriquehamzehtolenti6572 Před 2 měsíci +2

    Very well explained, good code examples, history explanation. Finally I managed to understand how assets pipeline works 😄

  • @drale2k
    @drale2k Před 6 měsíci +2

    Great presentation

  • @kofferraum
    @kofferraum Před 7 měsíci +2

    Good talk. Nice and calm voice, well paced.

  • @markdodwell1226
    @markdodwell1226 Před 7 měsíci +2

    Excellent talk, thanks!

  • @alexeybobr4537
    @alexeybobr4537 Před 6 měsíci +1

    Super easy to understand. Wish all speakers do their job so well.

  • @ferryphang1876
    @ferryphang1876 Před 6 měsíci +1

    Very detailed 🤝. Thanks

  • @dominuskelvin
    @dominuskelvin Před 7 měsíci +2

    Awesome learnt so much and it’s even more valuable as I’m working on Shipwright the modern asset pipeline for Sails

  • @trav2718
    @trav2718 Před 2 měsíci +1

    Glad I found this because the rails guide at this point is totally confusing around this. Would be nice for this information to get there, because as I read them it sure seemed like Sprockets should be avoided if you did transpiling, but now I guess that's bad and we should convert to this wild propshaft setup? There's absolutely no mention of this gem in the Rails guides asset pipeline currently.

    • @railsofficial
      @railsofficial  Před 20 dny

      Hi there. The Rails Guides are currently undergoing major update and renovation, and we will add this issue to the list of desired updates. -Amanda, Rails Foundation

  • @nafaabout
    @nafaabout Před 7 měsíci +1

    Really well explained. Thank you Breno

  • @wbjxfkwsklejfde34d
    @wbjxfkwsklejfde34d Před 6 měsíci +2

    Loved this. Great to understand more about something we are all using all day, but often without much understanding of what is going on behind the scenes. I've ditched node, which has been a huge relief. Just DartSass (i cant let go) and importmaps. The only thing really missing is package management for css/sass which doesnt seem like a big deal as I dont use that many css packages. If I want bootstrap, I can just download the sass files once, I rarely upgrade it. But one question, is there any reason I shouldnt just add it to vendor dir as a git submodule?

    • @wbjxfkwsklejfde34d
      @wbjxfkwsklejfde34d Před 6 měsíci

      I was going to ask, will propshaft be the default? but it sounds like maybe for Rails8, according to some googling / dhh article.

    • @brenogazzola9417
      @brenogazzola9417 Před 6 měsíci

      @@wbjxfkwsklejfde34d Yes, Propshaft will be the default for Rails 8.

    • @brenogazzola9417
      @brenogazzola9417 Před 6 měsíci

      If you want to use the vendors folder you must add manually to the path, since propshaft will only read from the app/assets folder.

  • @haroldhartsell7398
    @haroldhartsell7398 Před 5 měsíci

    I g