72 lines
2.8 KiB
YAML
72 lines
2.8 KiB
YAML
uuid:
|
|
- value: f229a8b2-9561-4e7d-ad3f-de8acd5a78a3
|
|
langcode:
|
|
- value: en
|
|
type:
|
|
- target_id: daily_email
|
|
target_type: node_type
|
|
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
|
revision_timestamp:
|
|
- value: '2025-05-11T09:00:14+00:00'
|
|
revision_uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
revision_log: { }
|
|
status:
|
|
- value: true
|
|
uid:
|
|
- target_type: user
|
|
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
|
|
title:
|
|
- value: 'Why use a static site generator'
|
|
created:
|
|
- value: '2024-04-23T00:00:00+00:00'
|
|
changed:
|
|
- value: '2025-05-11T09:00:14+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2024/04/23/why-use-a-static-site-generator
|
|
langcode: en
|
|
body:
|
|
- value: |
|
|
<p><a href="/daily/2024/04/22/building-websites-with-php-and-sculpin">In February</a>, I spoke at the PHP South West meetup about Sculpin - a static site generator written in PHP.</p>
|
|
|
|
<p>Sculpin uses Twig, HTML and Markdown to generate static HTML files that you can upload to any web server.</p>
|
|
|
|
<p>You don't need PHP or a database server - making it simpler and cheaper to host compared to a CMS-powered site.</p>
|
|
|
|
<p>There's also no database for people to hack into and, as they're just static HTML pages, they are very quick to load.</p>
|
|
|
|
<p>The downside is that files need to be created and edited locally or editing Git files on GitHub, etc, as there's no CMS to log into.</p>
|
|
|
|
<p>Still, for some projects, static site generators are a great option.</p>
|
|
|
|
<p>For Drupal, there's Tome - a module that creates a static website from a Drupal installation, and something I plan to investigate.</p>
|
|
|
|
|
|
format: full_html
|
|
processed: |
|
|
<p><a href="/daily/2024/04/22/building-websites-with-php-and-sculpin">In February</a>, I spoke at the PHP South West meetup about Sculpin - a static site generator written in PHP.</p>
|
|
|
|
<p>Sculpin uses Twig, HTML and Markdown to generate static HTML files that you can upload to any web server.</p>
|
|
|
|
<p>You don't need PHP or a database server - making it simpler and cheaper to host compared to a CMS-powered site.</p>
|
|
|
|
<p>There's also no database for people to hack into and, as they're just static HTML pages, they are very quick to load.</p>
|
|
|
|
<p>The downside is that files need to be created and edited locally or editing Git files on GitHub, etc, as there's no CMS to log into.</p>
|
|
|
|
<p>Still, for some projects, static site generators are a great option.</p>
|
|
|
|
<p>For Drupal, there's Tome - a module that creates a static website from a Drupal installation, and something I plan to investigate.</p>
|
|
|
|
|
|
summary: null
|
|
field_daily_email_cta: { }
|