TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Three Middleman Hacks We’re Using On This Site

35 pointsby tmeasdayover 11 years ago

6 comments

stbullardover 11 years ago
Not knowing Middleman, I initially read the title (currently &quot;Three Middleman Hacks We’re Using On This Site&quot;) as &quot;Three Man-in-the-Middle hacks We&#x27;re Using on This Site.<p>Risky click!
评论 #7129208 未加载
评论 #7129565 未加载
russellurestiover 11 years ago
Middleman is actually a really great piece of software. I&#x27;ve used it on multiple projects, and it&#x27;s really great for what it does.<p>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).<p>It&#x27;s also very Sinatra-esque, which I greatly approve of.
MaxGabrielover 11 years ago
This isn&#x27;t a big deal, but the assignment in `featured = featured.delete_if...` isn&#x27;t necessary since delete_if mutates the array.
评论 #7129251 未加载
macspoofingover 11 years ago
Everything is a &#x27;hack&#x27; these days.
silentrobover 11 years ago
This is a great post. 2014 is the year of static sites (and generators)! Lots of great resources popping up.<p>staticsitegenerators.net staticapps.org staticshowdown.com<p>Full disclosure, I work on Harp and I&#x27;m judging Static Showdown.
pibefisionover 11 years ago
I like your site design. Is it based on some other template? Is it open source? Tks!