Choose a Ruby Template Engine: ERB vs. Haml

Envato Tuts+
via Envato
Save (0)
ClosePlease login

No account yet? Register

The default templating language in Ruby on Rails is ERB. ERB has a simple syntax for mixing HTML and Ruby commands, but it can be somewhat verbose. Haml is a very popular alternative which has a condensed syntax for expressing HTML.

In this Coffee Break Course, Envato Tuts+ instructor José Mota will compare Haml and ERB. You’ll learn about the strengths and weaknesses of each, in order to help you choose between them. You’ll also learn about an online tool that you can use to translate from Haml to plain ERB.

Instructor(s)

José Mota
Envato Tuts+
via Envato
Free
English
10 minutes
Self paced
Subtitles: English