oliverdavies.uk/content/node.1e04c231-e0b7-4949-933e-923efd440828.json
2025-05-11 20:02:12 +01:00

100 lines
No EOL
4.3 KiB
JSON

{
"uuid": [
{
"value": "1e04c231-e0b7-4949-933e-923efd440828"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-04-16T14:12:57+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": "Drupal applications are modular monoliths"
}
],
"created": [
{
"value": "2024-10-21T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-04-16T14:12:57+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2024\/10\/21\/drupal-applications-are-modular-monoliths",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>\"Modular monolith\" has been a popular phrase in the PHP community recently with talks, podcast episodes and courses released on the topic.<\/p>\n\n<p>The idea is that instead of all the code being in one namespace, like App, it's split into different modules such as for payments or a blog - whatever is relevant and appropriate for that application.<\/p>\n\n<p>Each module contains its own classes and structure instead of everything being mixed together.<\/p>\n\n<p>If you want to change something about payments, you go to the payments module and you don't need to worry about anything else.<\/p>\n\n<p>What's interesting is that this is how I've always built Drupal applications.<\/p>\n\n<p>Each includes Drupal core and any contributed modules installed via Composer, and a specific directory for application-specific custom modules.<\/p>\n\n<p>These modules can be separate and standalone or they can interact and have dependencies and sub-modules.<\/p>\n\n<p>Each has its own routes, services, tests and more, making them easy to organise and maintain compared to having all the custom code in one large monolithic namespace or module.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>\"Modular monolith\" has been a popular phrase in the PHP community recently with talks, podcast episodes and courses released on the topic.<\/p>\n\n<p>The idea is that instead of all the code being in one namespace, like App, it's split into different modules such as for payments or a blog - whatever is relevant and appropriate for that application.<\/p>\n\n<p>Each module contains its own classes and structure instead of everything being mixed together.<\/p>\n\n<p>If you want to change something about payments, you go to the payments module and you don't need to worry about anything else.<\/p>\n\n<p>What's interesting is that this is how I've always built Drupal applications.<\/p>\n\n<p>Each includes Drupal core and any contributed modules installed via Composer, and a specific directory for application-specific custom modules.<\/p>\n\n<p>These modules can be separate and standalone or they can interact and have dependencies and sub-modules.<\/p>\n\n<p>Each has its own routes, services, tests and more, making them easy to organise and maintain compared to having all the custom code in one large monolithic namespace or module.<\/p>\n\n ",
"summary": null
}
],
"feeds_item": [
{
"imported": "2025-04-16T14:12:57+00:00",
"guid": null,
"hash": "839ad892ec2adbc5d9a97cf4d798231f",
"target_type": "feeds_feed",
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
}
]
}