Choose a Ruby Template
The default templating dialect in Ruby on Rails is ERB. ERB has a straightforward language structure for blending HTML and Ruby summons, yet it can be to some degree verbose. Haml is an extremely mainstream elective which has a consolidated sentence structure for communicating HTML.
In this Coffee Break Course, Envato Tuts+ teacher José Mota will look at Haml and ERB. You’ll find out about the qualities and shortcomings of each, keeping in mind the end goal to help you pick between them. You’ll likewise find out around an online instrument that you can use to make an interpretation of from Haml to plain ERB.
Pick a Ruby Template Engine: ERB versus Haml
In this lesson, I’ll demonstrate to you generally accepted methods to actualize a similar case in both the ERB and Haml templating motors. I’ll clarify the linguistic structure of every motor, and I’ll analyze the qualities and shortcomings of every one. At that point, I’ll demonstrate to you proper methodologies to arrange from Haml once more into ERB.
Haml to ERB
Download Link Price Free