While lurking around the
bakery i stumbled across a pretty neat html templating language, HAML.
What exactly is HAML?
taken straight from the front page of the haml website
Quote:
|
Haml takes your gross, ugly templates and replaces them with veritable Haiku.
|
basicly, it's a shorthand way of writing html, less code (lots less) to look at when developing your pages. Pretty cool.
haml also has a css counterpart called sass, which is what i'm really here to talk about. Sass looks like css, for the most part but adds LOTS of new functionality. Ever wish you could declare a constant in css? you can with sass. Sass is incredible, i wish real css worked like sass.
there is a haml implementation for php but no sass.
I don't plan on using haml in any of my projects because it seems cumbersome, why develop a page in haml when xhtml is second nature.. The only use i have for haml is being able to fit more code on a hand written page, i have a small legend that i can refer to when parsing haml into xhtml.
Anyway check out
the site it's a pretty neat project. I'm considering of porting sass to python so i can just batch render a bunch of sass files to css