profile

Fullstack Ruby

String-Based Templates vs. DSLs: the Pros & Cons of Each

Published about 2 years ago • 1 min read

Note: This is a difficult time to send a newsletter out about such trival matters as Ruby view template engines. Our hearts go out to everyone right now who's suffering—and in particular, the brave people of Ukraine who are victims of an unjust war. We hope peace and international justice will prevail.

Hello fellow Rubyists! New to Fullstack Ruby this week is a podcast episode all about templates. In the 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. What's your favorite template engine? I'd love to hear about it!

Also…as you may know, I am the lead maintainer & developer of Bridgetown, a next-generation static site generator & framework. We've been heading towards our final, production-grade release of v1.0 (having been on a 0.x cycle since Bridgetown's inception in early 2020), and we've run a fundraising campaign with a goal of reaching $5,000 to help fund this effort. At present, the tally stands at $4,113. The campaign ends at the end of the month, so there's still time to contribute! 😃

I'm amazed and grateful that Bridgetown has attracted quite a loyal following and is now powering numerous websites for individuals, businesses, and social organizations, as well as helping to push the cause of Ruby forward.

I appreciate every little bit which has been donated by Rubyists across the globe, and I can't wait to see what you all build with Bridgetown 1.0!🤘

Thanks once again for your interest and support of Fullstack Ruby, and I'll catch you all next week!

Jared ✌️

Fullstack Ruby

The hip place to be for a groovy take on developing web apps using this plucky language.

Join 400 of your fellow Rubyists and receive fresh updates from our podcast & blog:

Read more from Fullstack Ruby

Hello Ruby friends! OK, so it's been a minute. 😅 Fullstack Ruby was on hiatus last year, and I delve into the some of the reasons why in my new blog post as well as another post on the Bridgetown website. (post link) But the TL;DR is I've found a way to thread the needle back to feeling pumped about working in Ruby and on Ruby-themed projects again—most specially around the Bridgetown ecosystem as well as Roda, Sequel, and Rodauth which are increasingly playing a role in my business to enable...

about 1 month ago • 1 min read

Hello Ruby friends! ✌🏼 I hope you had a lovely St. Patrick's Day ☘️ weekend…certainly much fun was had here in Portland, Oregon with plenty of bagpipes and beer to go around. But that's not why you're subscribed to this newsletter. So let's talk about Ruby! Signalize, a Ruby Port of Preact Signals I'm excited to announce a new gem called Signalize. It's a direct port of the JavaScript package called Signals, brought to us by the fine folks at Preact. As it says on the tin, Signalize provides...

about 1 year ago • 3 min read

Greetings fellow Rubyists & happy Friday! I've got a couple of exciting bits of news for you. Bridgetown, the Ruby-powered site generator & fullstack framework of which I am lead maintainer, just celebrated its v1.2 release. Some of the new features include a new plugin configuration format, slotted content for templates and components, easier access to front matter and site-wide data, and bunch of quality-of-life improvements to i18n, helpers, SSR, and more. But if you aren't already a user...

over 1 year ago • 1 min read
Share this post