16 comments

[ 0.40 ms ] story [ 51.8 ms ] thread
Not knowing Middleman, I initially read the title (currently "Three Middleman Hacks We’re Using On This Site") as "Three Man-in-the-Middle hacks We're Using on This Site.

Risky click!

Oh, I hadn't thought about the potential for confusion! Curious to know if that's how most people will parse it…
It is how I parsed too.
For some reason I read it as "Mediterranean" first, but by the time I got the visual buffet of Mediterranean dishes and trying to cope with one hacking such a thing, I also began to see it as MITM hacks.
Same. I got super excited to learn about some fresh MITM goodness. Middleman looks interesting as well, though. :)
Another person thinking it was about MITM.
Yes, me too. God, why does anyone pick a project name like that?
It's really only confusing in this particular context, or to be precise, this particular sentence. Similarly, "Metropolitan Transportation Authority Invests Heavily in Rails" doesn't really make "Ruby on Rails" a particularly confusing project name.
Well, to be fair, Middleman translates authoring files (sass, yaml, haml, etc) into ready-to-publish static assets. It can also be wired to liveroad so that it instantly updates what you see in the browser. In that workflow, the name really makes sense to me.
This isn't a big deal, but the assignment in `featured = featured.delete_if...` isn't necessary since delete_if mutates the array.
Good point, thanks for the correction.
This is a great post. 2014 is the year of static sites (and generators)! Lots of great resources popping up.

staticsitegenerators.net staticapps.org staticshowdown.com

Full disclosure, I work on Harp and I'm judging Static Showdown.

I like your site design. Is it based on some other template? Is it open source? Tks!
Middleman is actually a really great piece of software. I've used it on multiple projects, and it's really great for what it does.

When all you have to do is hand a set of static files off to the client, Middleman allows you to use your favorite technologies like Sass, and comes combined with LiveReload (which is a nice time-saver).

It's also very Sinatra-esque, which I greatly approve of.