Static site generator GudangMovies21 Rebahinxxi LK21

      Static site generators (SSGs) are software engines that use text input files (such as Markdown, reStructuredText, AsciiDoc and JSON) to generate static web pages. Unlike dynamic websites, these static pages do not change based on the request. This simplifies the requirements for the backend and allows the site to be distributed via content delivery networks (CDN)s. The simple design also makes it harder for attackers to modify the website due to the smaller attack surface of these relatively simple backends. Some of the most popular static site generators are Jekyll, Hugo, Eleventy, Gatsby, and Next.js, SSGs are typically for rarely-changing, informative content, such as product pages, news articles, software documentation, and blogs.


      Architecture


      SSGs typically consist of a template written in HTML with a templating system, such as liquid (Jekyll) or Go template (Hugo). The same structure (typically a Git repository) includes content in a plain-text format such as Markdown or reStructuredText, or in a structural meta format such as JSON or XML. A single plain-text file may correspond to a single web page. Alternatively, a single structural metadata file may correspond to an entire website if a single-page application framework like AngularJS is used. The website variable settings are stored in a plaintext configuration file _config.yml (YAML), _config.toml (TOML) or _config.json (JSON). Page files typically also start with a YAML, TOML, or JSON preamble to define variables such as title, permalink, or date. Files with names that begin with an underscore (_) such as _index.md (as opposed to index.md) are considered templates or archetypes and are thus not rendered as pages themselves.


      Examples


      Several hundred SSGs have been documented to exist, with the vast majority being written in languages that are already prominent on the web, such as Python, Go, JavaScript and TypeScript.


      Comparison with server-side systems


      Many server-side template systems have an option to publish output pages on the server, where the published pages are static. This is common on content management systems, like Vignette, but is not considered out-server generation. In the majority of cases, this "publish option" doesn't interfere with the template system, and it can be made by external software, as Wget.
      People began to use server-side dynamic pages generated from templates with preexisting software adapted for this task. This early software was the preprocessors and macro languages, adapted for the web use, running on CGI. Next, a simple but relevant technology was the direct execution made on extension modules, started with SSI.


      References




      External links


      Enforcing Strict Model–View Separation in Template Engines

    Kata Kunci Pencarian:

    static site generatorstatic site generator vuestatic site generator phpstatic site generator pythonstatic site generator nextjsstatic site generatorsstatic site generator frameworkstatic site generator jekyllstatic site generator with guistatic site generator astro
    The Best Static Site Generators For Your Website in 2022 - Sphere

    The Best Static Site Generators For Your Website in 2022 - Sphere

    Choosing a Static Site Generator

    Choosing a Static Site Generator

    What is a Static Site Generator? | UltaHost Blog

    What is a Static Site Generator? | UltaHost Blog

    Static Site Generator - KeyCDN Support

    Static Site Generator - KeyCDN Support

    2022 Static Site Generator | 10,000 Free Templates

    2022 Static Site Generator | 10,000 Free Templates

    2022 Static Site Generator | 10,000 Free Templates

    2022 Static Site Generator | 10,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates

    2024 Static Site Generator | 15,000 Free Templates