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
For templating, Maud is fast, gives compile-time well-formedness guarantees, and outputs minified HTML by default as a side-effect of it being based on Rust macros. (It's of a similar design philosophy to Slim and Haml). Source: about 1 year ago
You don’t even need closing tags. Both Haml and Jade do away with closing tags altogether. Source: over 1 year ago
Your HBML is similar to HAML - is it time for HCML? Https://haml.info/. Source: over 1 year ago
It's quite similar to HAML if you want to write websites with that for real. Source: over 1 year ago
Views are written in haml. If you work on erb there are converters like haml-to-erb. I am working on RubyMine, Apple-Notebook, production Server is Debian (for node-setup) and yarn. I tried to write less text and rather link to the sources. - Source: dev.to / over 1 year ago
That's your opinion, you are entitled to it and I respect that, but I have my own, which I am also entitled to, and when many languages exist that have done a similar thing (See HAML, Shpaml, and AbstractML), I see no problem with continuing with my opinion. Source: over 2 years ago
I happened to stumble across HAML, an interesting and beautiful way to mark up contents and write templates for HTML. Source: over 2 years ago
Aside from that there’s other Ruby template systems like Shopify’s liquid, slim & haml (but you need to use it as an engine for use outside of Rails). Source: over 2 years ago
Can't really talk about integration itself, but eRuby/ERB is the basic templating language for Ruby. There's also Haml (made by the same folks as Sass), which is a flavour of HTML that makes it a bit nicer to use alongside Ruby. Source: over 2 years ago
That’s HAML https://haml.info/ which was initially popularized in Rails, a framework built on the programming language Ruby designed by Yukihiro Matsumoto so in a certain way the entirety of Vivy has been an obscure programming joke. Source: almost 3 years ago
I find that really odd, given the absolute best templating experience I've ever had comes from slim, which is an indent-based ruby experience, as an evolution of haml, which was originally pitched as the html equivalent to the indent-based sass syntax. Source: almost 3 years ago
In this article, we’ll test and analyze the performance of three most popular Ruby templating engines: ERB (the default one), HAML, and SLIM. - Source: dev.to / about 3 years ago
Do you know an article comparing Haml to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Haml. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.