What is static web

Static site generators: with minimalism for your own web project

Static website generators (more rarely also: web page generators) are ready-made code frameworks on the basis of which static websites can be created. Unlike content management systems, which usually store content in databases and prepare the HTML code on the server side using scripting languages ​​such as PHP, static site generators generate the HTML code locally on the developer's computer (alternatively also in the cloud). For this purpose, all necessary components are stored in a well-structured directory, with the strict separation of layout and content is characteristic. This makes it possible for users to make changes to the design of the web project at any time without affecting the published content. Most generators contain one for this purpose Template engine, with the help of which appropriate layout templates can be created.

Installation and operation of a static site generator work via the command line. The actual website content is written in markup languages ​​such as Markdown, with appropriate editors either being integrated into the software or - if necessary - having to be downloaded manually. In order to publish the website, all you have to do is transfer the automatically generated web code to the desired web space. Using metadata at the beginning of the files (often referred to as "front matter"), the generator then ensures that the website is displayed in the visitor's browser. Instead of uploading the directory to your own web space, it can also be stored in a content delivery network (CDN).