Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

TutsPlus - Choose a Ruby Template Engine: ERB vs. Haml

Posted By: IrGens
TutsPlus - Choose a Ruby Template Engine: ERB vs. Haml

TutsPlus - Choose a Ruby Template Engine: ERB vs. Haml
.MP4, AVC, 1000 kbps, 1280x720 | English, AAC, 64 kbps, 2 Ch | 10 mins | 86 MB
Instructor: José Mota

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.


TutsPlus - Choose a Ruby Template Engine: ERB vs. Haml