Haml VS Draper

Compare Haml vs Draper and see what are their differences.


HTML Abstraction Markup Language - A Markup Haiku (by haml)


Decorators/View-Models for Rails Applications (by drapergem)
Our great sponsors
  • talent.io - Download talent.io’s Tech Salary Report
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
Haml Draper
13 5
3,689 5,132
0.3% 0.1%
2.8 1.1
8 days ago 4 months ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Haml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-26.


Posts with mentions or reviews of Draper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-03.

What are some alternatives?

When comparing Haml and Draper you can also consider the following projects:

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

Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.

ActiveDecorator - ORM agnostic truly Object-Oriented view helper for Rails 4, 5, and 6

Hamlit - High Performance Haml Implementation

ShowFor - Wrap your objects with a helper to easily show them

Sanitize - Ruby HTML and CSS sanitizer.

jsonapi-serializer - A fast JSON:API serializer for Ruby (fork of Netflix/fast_jsonapi)

Mustache - Logic-less Ruby templates.

Arbre - An Object Oriented DOM Tree in Ruby

LaTeXML-Ruby - A Ruby wrapper for LaTeXML

Tilt - Generic interface to multiple Ruby template engines

Simple Form - Forms made easy for Rails! It's tied to a simple DSL, with no opinion on markup.