a blog for those who code

Thursday, 18 February 2016

Static Site Generators built on Node.js

In this post we will be discussing about some of the static site generators for Node.js. Static site generators store the content in flat files rather than databases, apply it against layout and or templates and generates a structure of purely HTML files that are ready to be delivered to the user.

The advantages of Static site generators are : speed, version control for content, security and less hassle with the server. Now lets go through some of the Node.js Static site generators.

1. Metalsmith

It is an extremely simple, pluggable static site generators. It read all the files in a directory then invokes a series of plugins that manipulate the files and then writes the results to a destination directory. All the logic in Metalsmith is handled by plugins. Other than creating a simple blog you can also use Metalsmith for a project scaffolder, an ebook generator and a build tool.


2. Wintersmith 

It is a flexible, minimalistic, multi-platform static site generator built on top of Node.js. Wintersmith comes with Jade plugin which means that you can use your favorite templating engine. Its markdown plugin allows you to use markdown as backing for all your sites content.


3. Punch

Punch is a simple, intuitive web publishing framework that will delight both designers and developers. The advantages of Punch are it uses boilerplate to quickly set up a site, define page contents in JSON, create flexible site structures with inheritable layouts and many more.


 4. Assemble

Assemble is a static site generator for Node.js, Grunt.js and Yeoman. It allows you to carve your HTML up into reusable fragments: partials, includes, sections,snippets. It can use layouts to wrap your pages with commonly used elements and content.


Please Like and Share the CodingDefined.com Blog, if you find it interesting and helpful.

No comments:

Post a Comment

Contact Us

Name

Email *

Message *

Sponsers

Best Hosting Plans

CC License