Software Alternatives & Reviews

Haml VS EJS

Compare Haml VS EJS and see what are their differences

Haml logo Haml

HTML Abstraction Markup Language - A Markup Haiku

EJS logo EJS

An open source JavaScript Template library.
  • Haml Landing page
    Landing page //
    2021-09-22
  • EJS Landing page
    Landing page //
    2022-01-11

Haml videos

How to Get Baby in Urdu&Hindi | Hamal Check krny ka Treeka | Haml Ghar Ma Chk Krain | Get B In Urdu

EJS videos

Kane Creek - Bestop Trail Review at EJS 2019

More videos:

  • Tutorial - JavaScript Templating Tutorial | Introduction To EJS

Category Popularity

0-100% (relative to Haml and EJS)
Javascript UI Libraries
23 23%
77% 77
Programming
100 100%
0% 0
Development
15 15%
85% 85
Front-End Frameworks
0 0%
100% 100

User comments

Share your experience with using Haml and EJS. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

EJS might be a bit more popular than Haml. We know about 20 links to it since March 2021 and only 17 links to Haml. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Haml mentions (17)

  • Building a syntax highlighting extension for VS Code
    First of all, I like Slim. I like the beauty and cleanness of Slim templates, to me they are way more readable than regular ERB templates and I think they fit in the ruby/Rails ecosystem very well. Slim is a close cousin to Haml, without the ugly percent characters, haha. I've used Slim exclusively in my projects since about 2016. - Source: dev.to / 6 months ago
  • Hamlet: A type-safe Haml template engine for Go
    > I can't say what problem it is supposed to solve "Haml accelerates and simplifies template creation" https://haml.info/ If you'd rather write raw HTML, keeping track of closing tags etc, then don't use HAML. No need to bash it because you personally feel it is ugly or unnecessary. FWIW I personally feel the exact opposite. - Source: Hacker News / 4 months ago
  • Hamlet: A type-safe Haml template engine for Go
    There is a better side by side of the syntax here https://haml.info (i've been using haml for 17 years lol, I find it more enjoyable to read and write). - Source: Hacker News / 4 months ago
  • Any web frameworks that could compare to Symfony?
    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed. Source: about 1 year ago
  • Rux: A JSX-inspired way to render view components in Ruby
    Does this support HAML-style syntax? We're 100% HAML-only for templating, whether normal Rails views or ViewComponent... https://github.com/haml/haml so going back to writing HTML or ERB feels like a huge downgrade. - Source: Hacker News / about 1 year ago
View more

EJS mentions (20)

  • Building Vue Components With Pug & Stylus
    If you have a bit of Nodejs SSR background, you would already be accustomed to templating libraries like Pug, Handlebars, EJS, etc. If you’re from a PHP background you would be familiar with the Blade templating engine. These templating libraries basically help you render dynamic data from the backend on the frontend. They also help you generate markup with loops based on conditions. - Source: dev.to / about 1 month ago
  • Learn to Integrate Froala into Your NodeJS Application with Express Framework
    Next, we need to install the Express framework, Embedded JavaScript templates (EJS), and Froala WYSIWYG editor. - Source: dev.to / 4 months ago
  • Building Secure Neon-Infused Web Apps with Auth0, Express, and EJS
    Familiarity with using Embedded JavaScript (EJS). - Source: dev.to / 4 months ago
  • How To Choose the Best Static Site Generator and Deploy it to Kinsta for Free
    Templating engine: SSGs rely on templating engines to define the structure of web pages. These engines enable developers to create reusable templates and incorporate dynamic content. Popular templating engines include Liquid, Handlebars, Mustache, EJS, ERB, HAML, and Slim. - Source: dev.to / 6 months ago
  • Things you forgot because of React
    Angular is a fucking abomination on this front. Angular doesn't separate concerns at all, it just ties it all together with an entirely new and un-intuitive DSL that you have to now write in the HTML. Just look at your DSL here: https://angular.io/guide/binding-syntax#types-of-data-binding You abso-fucking-lutely are writing code in your html, you're just writing a crippled version of their custom DSL instead of... - Source: Hacker News / 8 months ago
View more

What are some alternatives?

When comparing Haml and EJS, you can also consider the following products

Handlebars - Handlebars is a JavaScript template library that is, more or less, based on ...

Jinja2 - Jinja2 is a template engine written in Python.

Mustache.js - Minimal templating with {{mustaches}} in JavaScript - janl/mustache.js

Pug - Pug is a robust, elegant, feature rich template engine for Node.js

Vue.js - Reactive Components for Modern Web Interfaces

Apache Velocity - Velocity is a Java-based template engine.