[haml] Is there a compass for haml?

5 views
Skip to first unread message

picardo

unread,
Oct 15, 2009, 1:37:24 PM10/15/09
to Haml
I like and use compass for my sass files. I like most its ability to
detect change when I save the file and automatically compile it into
css.

From what I could find, haml does not have that a similar framework to
support that functionality. If there is one, I'd love to know.


Thanks.

Chris Eppstein

unread,
Oct 15, 2009, 6:03:44 PM10/15/09
to ha...@googlegroups.com
Off the top of my head:
Rails, Merb, StaticMatic, Serve, Middleman

Haml is not meant to be used stand alone, it is a template engine, not a project management tool.

chris

Matthew Helmick

unread,
Oct 15, 2009, 6:53:10 PM10/15/09
to ha...@googlegroups.com
Webby (works great with Compass), Nanoc3 (although I'm not sure how well Compass works with this yet).

Chris Eppstein

unread,
Oct 15, 2009, 6:56:38 PM10/15/09
to ha...@googlegroups.com
There was a very long thread about nanoc3 on the compass ML a few days ago. I think they managed to get it working.

chris

Charles Roper

unread,
Oct 16, 2009, 4:52:30 AM10/16/09
to ha...@googlegroups.com
On 15/10/2009 23:56, Chris Eppstein wrote:
> There was a very long thread about nanoc3 on the compass ML a few days
> ago. I think they managed to get it working.

Yeah, it works, but it's not the simplest process. I recommend
StaticMatic to start with. It's by far the simplest way to get
Haml/Sass/Compass with 'auto-rendering'.

Charles

Matthew Helmick

unread,
Oct 16, 2009, 12:13:59 PM10/16/09
to ha...@googlegroups.com
Curious to know the advantages of Staticmatic over Webby, if there are any?

Charles Roper

unread,
Oct 19, 2009, 7:22:42 AM10/19/09
to ha...@googlegroups.com
2009/10/16 Matthew Helmick <matt.h...@gmail.com>

Curious to know the advantages of Staticmatic over Webby, if there are any?

Just a case of simplicity and convention over configuration really. It is limited to Haml + Sass and therefore is very intuitive to get going with if you're used to those systems. By limiting itself to Haml + Sass, there isn't the overhead of a configuration meta-data block, but, by employing layouts, partials and a sprinkling of default helpers, you get a fairly potent little system.

It seems like the perfect fit for Picardo's original request.

Thinking about it, one could actually create a sort of Compass-like framework for Haml using it. It could include, or call on, a library of pre-built Haml pages, layouts and partials which could work  very similarly to Compass.

Charles

Charles Roper

unread,
Oct 20, 2009, 11:10:51 AM10/20/09
to ha...@googlegroups.com
On 19/10/2009 12:22, Charles Roper wrote:
> Thinking about it, one could actually create a sort of Compass-like
> framework for Haml using it. It could include, or call on, a library of
> pre-built Haml pages, layouts and partials which could work very
> similarly to Compass.

And look, some of the leading lights in the industry are already
promoting this sort of thing, but they're doing it manually:

Colly: http://j.mp/2ETwi0
Malarkey: http://j.mp/1XMVqN

Charles

Hampton

unread,
Oct 20, 2009, 11:14:13 AM10/20/09
to ha...@googlegroups.com
Yehuda Katz and I have a Palm Pre game that we built
using Staticmatic/Sass/Haml.

Its JS-based.
Reply all
Reply to author
Forward
0 new messages