PHP vs. HAML



  • 614
  • 10.8K
  • 1.27M
  • 7
  • 31
  • 3.38K

What is PHP?

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

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.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose PHP?
Why do you like PHP?

Why do developers choose HAML?
Why do you like HAML?

What are the cons of using PHP?
Downsides of PHP?

What are the cons of using HAML?
No Cons submitted yet for HAML
Downsides of HAML?

What companies use PHP?
10297 companies on StackShare use PHP
What companies use HAML?
139 companies on StackShare use HAML
What tools integrate with PHP?
54 tools on StackShare integrate with PHP
What tools integrate with HAML?
1 tools on StackShare integrate with HAML

What are some alternatives to PHP and HAML?

  • JavaScript - Lightweight, interpreted, object-oriented language with first-class functions
  • HTML5 - 5th major revision of the core language of the World Wide Web
  • Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
  • Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible

See all alternatives to PHP

PHP 7.1.27 Released
PHP 7.2.16 Released
PHP 7.3.3 Released


Interest Over Time