Ruby on Rails Tools

Template Engines

erb

Recommended

0 Downloads

Learn More

Haml (HTML Abstraction Markup Language) is a layer on top of HTML or XML that's designed to express the structure of documents in a non-repetitive, elegant, and easy way by using indentation rather than closing tags and allowing Ruby to be embedded with ease. It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine.

79,575,058 Downloads

Learn More

Slim is a template language whose goal is reduce the syntax to the essential parts without becoming cryptic.

33,463,418 Downloads

Learn More

A secure, non-evaling end user template engine with aesthetic markup.

35,215,195 Downloads

Learn More

Generic interface to multiple Ruby template engines

308,779,047 Downloads

Learn More

Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. Think of Mustache as a replacement for your views. Instead of views consisting of ERB or HAML with random helpers and arbitrary logic, your views are broken into two parts: a Ruby class and an HTML template.

27,362,069 Downloads

Want to stay up-to-date with Ruby on Rails?

Join 88,834+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.