How I Made Ruby Faster than Ruby
18·08·2025If you’re a Ruby programmer, you most probably will be familiar ERB templates
and the distinctive syntax where you mix normal HTML with snippets of Ruby for
embedding dynamic values in HTML.
I wrote recently about
P2, a new HTML templating library for
Ruby, where HTML is expressed using plain Ruby. Now this is nothing new or even
unique. There’s a lot of other Ruby gems that allow you to do that:
Phlex, (my own)
Papercraft and
Ruby2html come to mind.
What is different about P2 is that ...
Read more at noteflakes.com