Community
Haml is the best template engine on Rails (Discussion)
4 Responses
-
Carsten said – Thu, 06 Mar 2008 21:19:35 -0000 ( Link )
I totally agree, and in the real world it’s speed is just fine, every single HTML template in LearnHub is written in Haml and it’s pretty peppy! We also use Sass for all of our CSS it brings the Haml ideology to CSS and greatly increases productivity.
- Actions
-
Post Comments
-
gabriel said – Sun, 09 Mar 2008 07:36:37 -0000 ( Link )
Haml rawks! My only gripe with it is that it encapsulates element attributes with single quotes by default instead of double quotes. Single quotes may look nicer when quoting ruby strings and what-not, but in markup, doubles are definitely superior. Just view source this page and you’ll see what I mean; it’s a mish-mash of single– and double-quoted attributes, and it doesn’t look at all pretty.
Can we expect to see this issue addressed in the next release, Hampton? :)
- Actions
Post Comments
-
Post Comments
Post Comments