Тёмный

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

Ruby on Rails
Подписаться 8 тыс.
Просмотров 4,5 тыс.
50% 1

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

Опубликовано:

 

18 окт 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@supairish
@supairish Месяц назад
Great talk, I've been using Rails for years and it was good to have a refresher on how far we've come with assets integration.
@pedrohamzeh
@pedrohamzeh 4 месяца назад
Very well explained, good code examples, history explanation. Finally I managed to understand how assets pipeline works 😄
@duckHuntDano
@duckHuntDano 2 месяца назад
Dreams come true. Sprockets served us well for a long while but its time for Propshaft
@drale2k
@drale2k 8 месяцев назад
Great presentation
@alexeybobr4537
@alexeybobr4537 8 месяцев назад
Super easy to understand. Wish all speakers do their job so well.
@kofferraum
@kofferraum 8 месяцев назад
Good talk. Nice and calm voice, well paced.
@markdodwell1226
@markdodwell1226 8 месяцев назад
Excellent talk, thanks!
@dominuskelvin
@dominuskelvin 8 месяцев назад
Awesome learnt so much and it’s even more valuable as I’m working on Shipwright the modern asset pipeline for Sails
@ferryphang1876
@ferryphang1876 8 месяцев назад
Very detailed 🤝. Thanks
@nafaabout
@nafaabout 8 месяцев назад
Really well explained. Thank you Breno
@trav2718
@trav2718 4 месяца назад
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 2 месяца назад
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
@wbjxfkwsklejfde34d
@wbjxfkwsklejfde34d 8 месяцев назад
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 8 месяцев назад
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 8 месяцев назад
@@wbjxfkwsklejfde34d Yes, Propshaft will be the default for Rails 8.
@brenogazzola9417
@brenogazzola9417 8 месяцев назад
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 7 месяцев назад
I g
Далее
Cat Plays with Window Washer
00:22
Просмотров 1,6 млн
Frontendless Rails frontend - Vladimir Dementyev
34:35