StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
HAML
ByHAMLHAML

HAML

#332in Languages
Discussions2
Followers331
OverviewDiscussions2

What is HAML?

Haml is a markup language that’s used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.

HAML is a tool in the Languages category of a tech stack.

HAML Pros & Cons

Pros of HAML

  • ✓Clean and simple
  • ✓No html open/close tags
  • ✓Easier to write than ERB
  • ✓Forces clean and readable code
  • ✓Simpler markup language
  • ✓Open Source
  • ✓HTML Templating
  • ✓You'll love it if you like Haikus

Cons of HAML

  • ✗It's not Pug

HAML Alternatives & Comparisons

What are some alternatives to HAML?

JavaScript

JavaScript

JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.

Python

Python

Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.

HTML5

HTML5

HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.

PHP

PHP

Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Java

Java

Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!

TypeScript

TypeScript

TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.

HAML Integrations

Rails, JSFiddle, Gitclear are some of the popular tools that integrate with HAML. Here's a list of all 3 tools that integrate with HAML.

Rails
Rails
JSFiddle
JSFiddle
Gitclear
Gitclear

Try It

Visit Website

Adoption

On StackShare

Companies
144
CKFRSM+138
Developers
313
YNBKLS+307

HAML Discussions

Discover why developers choose HAML. Read real-world technical decisions and stack choices from the StackShare community.

Jerome Dalbert
Jerome Dalbert

Principal Backend Software Engineer at StackShare

Mar 17, 2019

Needs adviceonHAMLHAMLBootstrapBootstrapReactReact

Our legacy HAML pages use Bootstrap as a basic styling framework.

Love it or hate it, but for full-stack developers, Bootstrap is still one of the quickest ways to hit the ground running. All startup websites had to start somewhere, and we are no exception at StackShare!

These days, our frontend team writes or rewrites all our new pages with React components that each have their own CSS styling.

0 views0
Comments
Russel Werner
Russel Werner

Lead Engineer at StackShare

Sep 13, 2018

Needs adviceonSassSassHAMLHAMLReactReact

When we rebooted our front-end stack earlier this year, we wanted to have a consolidated and friendly developer experience. Up to that point we were using Sass and BEM. There was a mix of HAML views, React components and Angular. Since our ongoing development was going to be exclusively in React, we wanted to shift to an inline styling library so the "wall of classnames" could be eliminated. The ever-shifting landscape of inline CSS libraries for React is sometimes difficult to navigate.

We decided to go with Glamorous for a few reasons:

  1. Previous team experience with this library
  2. We can write our styles in plain @{JavaScript}|tool:1209| (which brings many benefits)
  3. It supports server-side rendering
  4. It has great composition patterns

As you may or may not know, Glamorous has ceased active development and been mostly superseded by Emotion. We are planning to migrate to either Emotion or @styled-components in the near future, and I'll write another Stack Decision when we get there!

#inlinecss

0 views0
Comments