13. CMS Welt
Klassisch Flat-File Static Site Generator
Vertreter WordPress,
Drupal, Typo3, …
Kirby CMS,
Craft CMS, Grav
Hugo, Gatsby, Jekyll
Datenbank ☑ - -
Backend ☑ ☑ -
Distribution Server Server Serverless / CDN
Content Text & HTML in DB Markdown Markdown
Versionierung Schwierig zu erreichen Möglich mit git Alles in git
CMS integriert integriert CMS App / git Workflow
15. VORTEILE JAMstack
↣ Serverless: Performant + Skalierbar
↣ kein Backend: Sicherheit
↣ keine Updates / Patches
↣ Git-basierter Workflow, Automatismen
↣ Komplette, kongruente Versionierung
↣ Inhalt-Version passt immer zu Template-Version
16. NACHTEILE JAMstack
↣ CMS App: kein Live-Preview
↣ CMS App: Time Lag zwischen Save und Deploy
↣ Mindshift für den Entwickler und Redaktor
↣ z.B. Formulare via SaaS (Typeform o.ä.)
↣ Bilder-Thumbs im Frontend erstellen
↣ usw.
18. PROJEKTSTRUKTUR
• archetypes Content Typisierung und Defaults
• content Inhalte in Mark Down
• layouts where the magic happens
• static Assets: Bilder, PDFs
• config.toml Parametrierung / Globals
20. CONTENT
---
title: "My first post with Hugo"
date: "2018-06-20"
draft: false
author: "Dietrich Rordorf"
tags: ["hugo", "post"]
thumbimage: ""
fullimage: ""
---
Teaser / intro text für den Blog Post.
<!--more-->
Lorem ipsum dolor sit amet, consectetur adipiscing elit...
content/posts/2018-first-post.md