by José Mota
Lessons:2Length:10 minutes
Next lesson playing in 5 seconds
CancelFree Preview: Choose a Ruby Template Engine: ERB vs. Haml
Introduction
00:43
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.
1.Choose a Ruby Template Engine: ERB vs. Haml2 lessons, 10:14
2 lessons, 10:14
Free Lesson 1.1Introduction00:43
Free Lesson
1.1
Introduction
00:43
1.2Choose a Ruby Template Engine: ERB vs. Haml09:31
1.2
Choose a Ruby Template Engine: ERB vs. Haml
09:31
Subscribe to watch full course
Subscribe to watch full course