Number 1 goal here was to do coffeescript end to end. Got that working fairly easily. My setup looks like this:
- HTML Markup: Coffeekup: https://github.com/mauricemach/coffeekup
- MVC: Express: http://expressjs.com/
- CSS: Stylus: https://github.com/LearnBoost/stylus
I wouldn't say it was easy exactly, there were some minor bumps along the way. But I was pretty impressed with just how easy it was considering how little I knew going into it. Node just wants to get out of your way so you can get your site going.
Another thing that I like about this setup is all of the markup and code looks fairly similar:
div '.top.child', ->img '.logo', src: "images/logo.png", alt: "It's a Gift logo"div '.bottom.child', ->h3 'Opening April 2012'p style: 'margin-bottom: 40px;'
light_green = #B8CD88dark_green = #64893Dbeige = #F4BF7Forange = #F79323sea_green = #73A4A2sans_font = 'Yanone Kaffeesatz', sans-serifbodyfont: 12px Helvetica, Arial, sans-serif;background: url('/images/paper_texture.png').containermargin-top 60px
So everything is nice and similar. Love that.