HAML

In our company we started using HAML for Web app development. HAML is very useful in creating web pages. We can replace the HTML tags with intended HAML representations.

For example the HTML code:


is represented in HAML as:


In HAML indentation is very important. Otherwise it will show some error. There is a web app which converts HTML to HAML which is HTML2HAML.

For using HAML with rails you have to install the gem haml.

Now with HAML the lines of code we are writing became less and also because indentation is must the code became more cleaner.

blog comments powered by Disqus
How to implement Lightbox f... >>
<< Lorem Ipsum