oliverdavies.uk/content/node.251a41b5-0dfe-4c7b-abe4-9b28d0a52a22.json
2025-05-11 20:02:14 +01:00

100 lines
No EOL
5.7 KiB
JSON

{
"uuid": [
{
"value": "251a41b5-0dfe-4c7b-abe4-9b28d0a52a22"
}
],
"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:24+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": "Sculpin - the PHP static site generator"
}
],
"created": [
{
"value": "2024-01-06T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:24+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2024\/01\/06\/sculpin-the-php-static-site-generator",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>If you use PHP and need to make a static website, <a href=\"https:\/\/sculpin.io\">Sculpin<\/a> is a great choice!<\/p>\n\n<h2 id=\"what-is-it%3F\">What is it?<\/h2>\n\n<p>Built with PHP and using Symfony components, it converts Markdown files and Twig templates into static HTML that can be easily deployed and hosted.<\/p>\n\n<p>Once generated, you can upload the files to a web host of your choice as the generated files are simple HTML, such as an S3 bucket with static hosting or GitHub Pages.<\/p>\n\n<h2 id=\"why-do-i-use-it%3F\">Why do I use it?<\/h2>\n\n<p>As a PHP Developer, it's already familiar and I can immediately start instead of learning a new language or templating engine, which I'd need to do if I were to use a static site generator written in Ruby, JavaScript or Go.<\/p>\n\n<p>If I need to extend it, I already can.<\/p>\n\n<p>I already know how to write custom Twig extensions, for example, so I can do it in Sculpin in the same way. (<a href=\"https:\/\/github.com\/opdavies\/sculpin-twig-markdown-bundle\">I made one<\/a> and open-sourced it)<\/p>\n\n<p>I already know how to use PHPUnit to write tests.<\/p>\n\n<h2 id=\"what-do-i-use-it-for%3F\">What do I use it for?<\/h2>\n\n<p>I use Sculpin for <a href=\"https:\/\/github.com\/opdavies\/oliverdavies.uk\">this website<\/a> and client projects that don't need the features of a CMS or framework with the ability to have reusable components and functionality provided by Twig (this works great with Tailwind CSS, too).<\/p>\n\n<p>I used it to <a href=\"https:\/\/www.oliverdavies.uk\/test-drive-twig-with-sculpin\">learn Twig before Drupal 8 was released<\/a>, back in 2015.<\/p>\n\n<p>I've also given a talk on <a href=\"https:\/\/www.oliverdavies.uk\/building-static-websites-sculpin\">building websites with Sculpin<\/a> which I may submit to some upcoming conferences.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>If you use PHP and need to make a static website, <a href=\"https:\/\/sculpin.io\">Sculpin<\/a> is a great choice!<\/p>\n\n<h2 id=\"what-is-it%3F\">What is it?<\/h2>\n\n<p>Built with PHP and using Symfony components, it converts Markdown files and Twig templates into static HTML that can be easily deployed and hosted.<\/p>\n\n<p>Once generated, you can upload the files to a web host of your choice as the generated files are simple HTML, such as an S3 bucket with static hosting or GitHub Pages.<\/p>\n\n<h2 id=\"why-do-i-use-it%3F\">Why do I use it?<\/h2>\n\n<p>As a PHP Developer, it's already familiar and I can immediately start instead of learning a new language or templating engine, which I'd need to do if I were to use a static site generator written in Ruby, JavaScript or Go.<\/p>\n\n<p>If I need to extend it, I already can.<\/p>\n\n<p>I already know how to write custom Twig extensions, for example, so I can do it in Sculpin in the same way. (<a href=\"https:\/\/github.com\/opdavies\/sculpin-twig-markdown-bundle\">I made one<\/a> and open-sourced it)<\/p>\n\n<p>I already know how to use PHPUnit to write tests.<\/p>\n\n<h2 id=\"what-do-i-use-it-for%3F\">What do I use it for?<\/h2>\n\n<p>I use Sculpin for <a href=\"https:\/\/github.com\/opdavies\/oliverdavies.uk\">this website<\/a> and client projects that don't need the features of a CMS or framework with the ability to have reusable components and functionality provided by Twig (this works great with Tailwind CSS, too).<\/p>\n\n<p>I used it to <a href=\"https:\/\/www.oliverdavies.uk\/test-drive-twig-with-sculpin\">learn Twig before Drupal 8 was released<\/a>, back in 2015.<\/p>\n\n<p>I've also given a talk on <a href=\"https:\/\/www.oliverdavies.uk\/building-static-websites-sculpin\">building websites with Sculpin<\/a> which I may submit to some upcoming conferences.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-05-11T09:00:24+00:00",
"guid": null,
"hash": "6b0cc2a798390fc93ca034bf92dc6df9",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}