Chuyển sang chế độ ngoại tuyến với ứng dụng Player FM !
Podcast đáng để nghe
TÀI TRỢ BỞI
3: String-Based Templates vs. DSLs: the Pros & Cons of Each
Manage episode 321084490 series 3295904
Typically when you mention "Ruby" and "template" in the same breath, people will think of ERB. Perhaps even Haml. But did you know that the Ruby ecosystem offers a wide variety of template engines, and quite a few are built upon pure Ruby? In this episode, I break down the main conceptual difference between "string-based templates" such as ERB and "DSLs" such as Papercraft, the various options within each category, and some of the reasons you might want to choose one approach or another depending on your use case. Enjoy!
Links:
- Article: HTML is a Serialized Object Graph
- ERB
- Erubi (ERB variant used by Rails, Bridgetown)
- Liquid
- Serbea
- Haml
- Slim
- Arbre
- Markaby
- Wunderbar
- Papercraft
- Rux
Become a part of the Fullstack Ruby community and learn how to put your Ruby skills to work on the backend AND the frontend. Know somebody who's a JavaScript developer but is interested in learning more about Ruby? Share the site, podcast, or newsletter with them!
The Fullstack Ruby Podcast is a production of Whitefusion, a boutique web studio based in Portland, OR.
Theme music courtesy of Epidemic Sound.
12 tập
Manage episode 321084490 series 3295904
Typically when you mention "Ruby" and "template" in the same breath, people will think of ERB. Perhaps even Haml. But did you know that the Ruby ecosystem offers a wide variety of template engines, and quite a few are built upon pure Ruby? In this episode, I break down the main conceptual difference between "string-based templates" such as ERB and "DSLs" such as Papercraft, the various options within each category, and some of the reasons you might want to choose one approach or another depending on your use case. Enjoy!
Links:
- Article: HTML is a Serialized Object Graph
- ERB
- Erubi (ERB variant used by Rails, Bridgetown)
- Liquid
- Serbea
- Haml
- Slim
- Arbre
- Markaby
- Wunderbar
- Papercraft
- Rux
Become a part of the Fullstack Ruby community and learn how to put your Ruby skills to work on the backend AND the frontend. Know somebody who's a JavaScript developer but is interested in learning more about Ruby? Share the site, podcast, or newsletter with them!
The Fullstack Ruby Podcast is a production of Whitefusion, a boutique web studio based in Portland, OR.
Theme music courtesy of Epidemic Sound.
12 tập
Tất cả các tập
×
1 A Casual Conversation with KOW (Karl Oscar Weber) on Camping, Open Source Politics, and More 1:04:10

1 Designing Your API for Their API (Yo Dawg!) 28:07

1 Ruby un Rails (and Proof of Life Update) 32:18

1 8: Hotwiring Multi-Platform Rails Apps with Ayush Newatia 43:19

1 6: How Do You Manage Ruby Application Dependencies? 31:26

1 4: Design Patterns on the Frontend, History of MVVM, Web Components, and You 36:27

1 3: String-Based Templates vs. DSLs: the Pros & Cons of Each 36:59

1 2: Componentized View Architecture FTW! 36:59
Chào mừng bạn đến với Player FM!
Player FM đang quét trang web để tìm các podcast chất lượng cao cho bạn thưởng thức ngay bây giờ. Đây là ứng dụng podcast tốt nhất và hoạt động trên Android, iPhone và web. Đăng ký để đồng bộ các theo dõi trên tất cả thiết bị.