Metalsmith: Pluggable Node.js static site generator with Javascript & Command-line APIs

Metalsmith masthead

http://www.metalsmith.io/

I like the simplicity and extreme flexibility. Static site generation is one of those places where I don’t want the framework to be too opinionated.

Simple Blog Example from the website:

Metalsmith(__dirname)
  .use(markdown())
  .use(templates('handlebars'))
  .build();

Simple Blog Example with draft posts and custom permalinks from the website:

Metalsmith(__dirname)
  .use(drafts())
  .use(markdown())
  .use(permalinks('posts/:title'))
  .use(templates('handlebars'))
  .build();

Article: Microservices, by Martin Fowler and James Lewis

Microservices image

Article about Microservices from a couple of Thoughtworks guys.

From the article:

In short, the microservice architectural style is an approach to developing a
single application as a suite of small services, each running in its own
process and communicating with lightweight mechanisms, often an HTTP resource
API. These services are built around business capabilities and independently
deployable by fully automated deployment machinery. There is a bare mininum of
centralized management of these services, which may be written in different
programming languages and use different data storage technologies.

Article: How to Create a Statically Linked Version of git Binaries

As I’ve mentioned before, we use CVS at my job. I use Git for personal projects, and I wanted to install a copy on our build server at work. I have root access to that box, but I prefer to contain my changes to my user when possible. I know that building statically linked binaries is frowned upon, but I didn’t see much of an alternative in my case, at least in the short term. Anyway, here are the instructions I followed:

How to Create a Statically Linked Version of git Binaries:
http://java.dzone.com/articles/how-create-statically-linked.

We run Red Hat Enterprise Linux at work, so I build the git binaries using a CentOS Vagrant image. I had to install the following additional modules:

  • asciidoc
  • gettext
  • glibc
  • zlib
  • zlib-devel
  • zlib-static
  • perl-ExtUtils-MakeMaker