Listen "3: String-Based Templates vs. DSLs: the Pros & Cons of Each"
Episode Synopsis
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 GraphERB Erubi (ERB variant used by Rails, Bridgetown)LiquidSerbeaHamlSlimArbreMarkabyWunderbarPapercraftRuxBecome 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.
More episodes of the podcast Fullstack Ruby Podcast
A Casual Conversation with KOW (Karl Oscar Weber) on Camping, Open Source Politics, and More
18/12/2024
Designing Your API for Their API (Yo Dawg!)
15/10/2024
Ruby un Rails (and Proof of Life Update)
05/05/2024
Preact Signals and the Signalize Gem
14/03/2023
7: Ruby on Wasm: Is This the Future?
11/01/2023
5: Optimized for Programmer Happiness
29/06/2022
2: Componentized View Architecture FTW!
21/12/2021
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.