Migrate content to YAML
This commit is contained in:
parent
3d76aa0c3b
commit
9d5a930eab
4550 changed files with 93849 additions and 129734 deletions
76
content/node.8eeee62a-a2ae-4af6-b15f-2cbbe81eaeda.yml
Normal file
76
content/node.8eeee62a-a2ae-4af6-b15f-2cbbe81eaeda.yml
Normal file
|
@ -0,0 +1,76 @@
|
|||
uuid:
|
||||
- value: 8eeee62a-a2ae-4af6-b15f-2cbbe81eaeda
|
||||
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:01+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: "Simpler code doesn't mean less code"
|
||||
created:
|
||||
- value: '2025-02-09T00:00:00+00:00'
|
||||
changed:
|
||||
- value: '2025-05-11T09:00:01+00:00'
|
||||
promote:
|
||||
- value: false
|
||||
sticky:
|
||||
- value: false
|
||||
default_langcode:
|
||||
- value: true
|
||||
revision_translation_affected:
|
||||
- value: true
|
||||
path:
|
||||
- alias: /daily/2025/02/09/simpler
|
||||
langcode: en
|
||||
body:
|
||||
- value: |
|
||||
<p>Just because I consider some code to be simpler, that doesn't necessarily mean there's less code.</p>
|
||||
|
||||
<p>It's possible to write a whole function or class on one line, but that doesn't mean it's simple to read or understand.</p>
|
||||
|
||||
<p>The opposite is also true.</p>
|
||||
|
||||
<p>I can extract business logic from Controller classes into different service classes, commands or actions.</p>
|
||||
|
||||
<p>I can use data transfer objects (DTOs), value objects and Collection classes to give names and meanings to things instead of always using generic strings, arrays or objects.</p>
|
||||
|
||||
<p>I can follow design patterns and implement Repositories, Decorators, Factories and Builders to better organise code and make it easier to use and update.</p>
|
||||
|
||||
<p>I can write tests that act as examples and executable documentation for people to see how to use the code I've written.</p>
|
||||
|
||||
<p>This can all make code easier to read, understand and use - even though there is more of it.</p>
|
||||
|
||||
|
||||
format: full_html
|
||||
processed: |
|
||||
<p>Just because I consider some code to be simpler, that doesn't necessarily mean there's less code.</p>
|
||||
|
||||
<p>It's possible to write a whole function or class on one line, but that doesn't mean it's simple to read or understand.</p>
|
||||
|
||||
<p>The opposite is also true.</p>
|
||||
|
||||
<p>I can extract business logic from Controller classes into different service classes, commands or actions.</p>
|
||||
|
||||
<p>I can use data transfer objects (DTOs), value objects and Collection classes to give names and meanings to things instead of always using generic strings, arrays or objects.</p>
|
||||
|
||||
<p>I can follow design patterns and implement Repositories, Decorators, Factories and Builders to better organise code and make it easier to use and update.</p>
|
||||
|
||||
<p>I can write tests that act as examples and executable documentation for people to see how to use the code I've written.</p>
|
||||
|
||||
<p>This can all make code easier to read, understand and use - even though there is more of it.</p>
|
||||
|
||||
|
||||
summary: null
|
||||
field_daily_email_cta: { }
|
Loading…
Add table
Add a link
Reference in a new issue