Thursday, 9 March 2017

Static Site Generator

By,
Neha

What is a Static Site Generator?
Static Site Generator is a compromise between using a hand-coded static site and a full CMS, It is retaining the benefits of both.
Static Site Generator could build a static website using WordPress page content extracted from an internal server.
Static website generators create websites from plain text, It is stored in files only not in databases. Static websites built by generators for Ex- Jekyll, allow for some advantages, such as increased speed, security, ease of deployment and their handling of traffic surges.and they have no real time content or user content which have become a must on the web today.
The site generation can occur on your development machine or staging server. The resulting HTML files are then deployed to a live web server. Users will never know the difference.
                                           
The Followings are benefits Static Site Generator-
1. Flexibility
2. Better Performance
3. Improved Reliability
4. Client Control Considerations
5. Superior Security

How It works??
Static pages are fast and lightweight they scale well in their performance.
They are more secure than others, and simple to maintain.
Static pages  allow you to focus all your time and effort on the user interface.
The simple way to create a webside in just HTML and CSS the advantages is faster performance and way less surface.
You maintain some data on our own machine which describe your content. This is done in another plain-text option.
Your static site generator is built out of code. You execute it on your machine. The generator combines your content olus templates to spit out a bunch of compiled HTML/CSS.
You then upload the entire compiled site to your host of choice. From perspective of someone visiting your website,they do not know it was generated at all they just download HTML it really fast which appears to have bells and whistles form dynamic sites
The disadvantage is that it's static. You can not modify in the browser. You can not post anything because.  Static Site Generator  can not process data in any other way. But if you want to modify in that, you have to change your text or template and re-genrate the site and upload it again.

Static Site Generator - Jekyll
Jekyll is a simple  static site generator It use for personal, project or organization sites.
Written in Ruby by Tom Preston-Werner, GitHub's co-founder.
Jekyll started a web development trend towards static websites.

No comments:

Post a Comment