thoughtbot / proteus-gulp

[no longer maintained]
51 stars 8 forks source link

Haml is a bit of an odd choice #7

Closed whmii closed 9 years ago

whmii commented 9 years ago

I know that it's very thougthboty to use haml, and I'm not saying something like jade is the answer but what is the rationale for using HAML in a gulp project?

joshuaogle commented 9 years ago

You're right that Jade is more common in the JS community, but the main feature of the Proteus project is to have the same set of tools and expectations across the different kits. So you may need a Middleman project or a Node project, but you'll have a similar folder structure, commands and set of tools.

If thoughtbot used Slim instead of Haml, then I would be in favor of using Jade here since it's much closer to Slim. As it is, not enough of us favor Slim so I defaulted to Haml here to keep it consistent.

whmii commented 9 years ago

I might argue that something like handlebars might be a better option. it javasript w/o all the extra. I'm not a fan of slim/jade either.

I definitely understand the inclination to keep the same architecture across all proteus projects tho

joshuaogle commented 9 years ago

Handlebars is totally different and wouldn't be a replacement for what we're doing with Haml. Haml isn't required though, so we may want to add a little README guide to switching it out.

joshuaogle commented 9 years ago

Closing this for now, but I'm always up for discussing additions/alternatives. I'll add another issue to add the guide to switching templates

whmii commented 9 years ago

:+1: