Based on our record, mustache should be more popular than Haml. It has been mentiond 26 times since March 2021. 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.
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
> 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
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
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
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
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
I also enjoy simple templating engines. It makes it far easier to reason about a template and mentally step-through it. For existing art, there are: DustJS which is a "logic-less" template engine (just loops and simple if-statements): https://github.com/linkedin/dustjs Personally, I've re-implemented DustJS in rust but its still a very alpha project: https://code.fizz.buzz/talexander/duster. - Source: Hacker News / 8 months ago
Other popular templating engines include Jade, EJS, and Handlebars. Jade is a high-performance templating engine that is used for server-side rendering. EJS is a lightweight templating engine that is used for client-side and server-side rendering. Handlebars is a templating language that is based on the Mustache template language. - Source: dev.to / 10 months ago
You don't have to even program the replacement part yourself, because there are many libraries made specifically for that. For this example, I'd recommend mustache. Source: about 1 year ago
This is one of the least-bad names because it implements a non-Boost standard and it's named after that. I've used mustache in Python so knew immediately it was a templating language. Source: about 1 year ago
Handlebars - Handlebars is a JavaScript template library that is, more or less, based on ...
Jinja2 - Jinja2 is a template engine written in Python.
Pug - Pug is a robust, elegant, feature rich template engine for Node.js
EJS - An open source JavaScript Template library.
jquery-template - A template plugin for jQuery. Allows templating without cluttering JavaScript code with markup.
Apache Velocity - Velocity is a Java-based template engine.