oliverdavies.uk/content/node.09d6a39f-ac99-44fc-b660-4f976132d813.yml

88 lines
3.9 KiB
YAML

uuid:
- value: 09d6a39f-ac99-44fc-b660-4f976132d813
langcode:
- value: en
type:
- target_id: daily_email
target_type: node_type
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
revision_timestamp:
- value: '2025-05-11T08:59:58+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: 'Building static websites with Drupal'
created:
- value: '2025-04-18T00:00:00+00:00'
changed:
- value: '2025-05-11T08:59:58+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2025/04/18/static-drupal
langcode: en
body:
- value: |
<p>I've been using Drupal since 2008 and built the first version of my website with Drupal 6 before updating it to Drupal 7.</p>
<p>Around that time, I discovered static site generators and built the next version of my website with Jekyll.</p>
<p>I liked how I could write content in simple plain files, export them to HTML and upload them to a server.</p>
<p>Static websites are fast and secure.</p>
<p>There was no need for PHP or a database. Just a simple web server like Apache or Nginx that can serve static files.</p>
<p>I later switched to Sculpin, a static site generator written with PHP, which has a lot of similarities with Drupal.</p>
<p>But what if you want the power of Drupal with the benefits of a static website?</p>
<p><a href="https://www.drupal.org/project/tome">Tome</a> is a module that turns Drupal into a static site generator.</p>
<p>Drupal works the same locally with access to all the usual core functionality and contrib modules and themes from Drupal.org, but you export everything to static files - the same as using Jekyll or Sculpin.</p>
<p>Sam Mortenson, the creator of the Tome module discussed it on <a href="/podcast/19-sam-mortenson">our episode of the Beyond Blocks podcast</a> where we also talked about single file components.</p>
<p>If you want the power of a flexible content management system and the performance and security benefits of a static website, Tome gives you the best of both worlds.</p>
format: full_html
processed: |
<p>I've been using Drupal since 2008 and built the first version of my website with Drupal 6 before updating it to Drupal 7.</p>
<p>Around that time, I discovered static site generators and built the next version of my website with Jekyll.</p>
<p>I liked how I could write content in simple plain files, export them to HTML and upload them to a server.</p>
<p>Static websites are fast and secure.</p>
<p>There was no need for PHP or a database. Just a simple web server like Apache or Nginx that can serve static files.</p>
<p>I later switched to Sculpin, a static site generator written with PHP, which has a lot of similarities with Drupal.</p>
<p>But what if you want the power of Drupal with the benefits of a static website?</p>
<p><a href="https://www.drupal.org/project/tome">Tome</a> is a module that turns Drupal into a static site generator.</p>
<p>Drupal works the same locally with access to all the usual core functionality and contrib modules and themes from Drupal.org, but you export everything to static files - the same as using Jekyll or Sculpin.</p>
<p>Sam Mortenson, the creator of the Tome module discussed it on <a href="http://default/podcast/19-sam-mortenson">our episode of the Beyond Blocks podcast</a> where we also talked about single file components.</p>
<p>If you want the power of a flexible content management system and the performance and security benefits of a static website, Tome gives you the best of both worlds.</p>
summary: null
field_daily_email_cta: { }