oliverdavies.uk/source/_daily_emails/2025-03-12.md
Oliver Davies fad2a3f101 Add daily email for 2025-03-12
Static website are easy to build
2025-03-20 16:41:36 +00:00

1.3 KiB

title date permalink tags cta snippet
Static website are easy to build 2025-03-12 daily/2025/03/12/easy
software-development
static-websites
static-site-generators
sculpin
~ Static websites are the easiest way to build websites.

Static websites are the easiest way to build websites.

You create an index.html file, type some words, open the file in a browser and you'll see the words you entered.

You built a website!

Then you can create any more pages you need and style it with CSS.

This how I built my first website, for a Tae Kwon-Do school I used to train at.

This worked great, but at some point, becomes hard to scale.

What if you want to add a new link to your navigation menu? You'd need to update each HTML page separately.

At this point, I started to learn about PHP and MySQL, and then Drupal.

Static site generators like Sculpin, Jekyll and Hugo also fix this problem.

They allow you to write HTML files with a template language like Twig and use includes, loops and conditions to make your files easier to create and maintain with a language and tools you're familiar with.

It still generates a static website with HTML files, but in a more maintainable way.

As a PHP Developer, I like Sculpin but also like Tome to export a Drupal website to static HTML.