New! Unlimited audio, video & web asset downloads! Unlimited audio, video & web assets! From $16.50/m
by
Lessons:2Length:10 minutes

Next lesson playing in 5 seconds

Cancel

Free 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. Haml
2 lessons, 10:14

Free Lesson
1.1
Introduction
00:43

1.2
Choose a Ruby Template Engine: ERB vs. Haml
09:31