Don't base the Drupal Planet feed on tags

This commit is contained in:
Oliver Davies 2024-09-14 00:21:58 +01:00
parent 74042f01e1
commit e55a47f611
18 changed files with 18 additions and 18 deletions

View file

@ -8,10 +8,10 @@ tags:
- php - php
- feature-flags - feature-flags
- css - css
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
How I combined a feature flag and a data attribute to release some new CSS styles to a project. How I combined a feature flag and a data attribute to release some new CSS styles to a project.
drupal_planet: true
--- ---
I recently used [Drupal's Feature Toggle module](https://www.drupal.org/project/feature_toggle) to set a data attribute which enabled some new styling for buttons. I recently used [Drupal's Feature Toggle module](https://www.drupal.org/project/feature_toggle) to set a data attribute which enabled some new styling for buttons.

View file

@ -7,10 +7,10 @@ tags:
- drupal - drupal
- php - php
- automated-testing - automated-testing
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
As well as types, PHP's named arguments also add context - particularly within tests. As well as types, PHP's named arguments also add context - particularly within tests.
drupal_planet: true
--- ---
A couple of weeks ago, I wrote that [using types adds context to code][0], making it easier to read and understand. A couple of weeks ago, I wrote that [using types adds context to code][0], making it easier to read and understand.

View file

@ -5,12 +5,12 @@ permalink: daily/2024/08/28/single-file-components-in-drupal-with-sam-mortenson
tags: tags:
- software-development - software-development
- drupal - drupal
- drupal-planet
- php - php
- podcast - podcast
cta: ~ cta: ~
snippet: | snippet: |
I recently discussed Single File Components in Drupal with Sam Mortenson. I recently discussed Single File Components in Drupal with Sam Mortenson.
drupal_planet: true
--- ---
In the most recent episode of the [Beyond Blocks podcast][0], I spoke with [Sam Mortenson][1] about Single File Components in Drupal as well as building static Drupal websites with Tome. In the most recent episode of the [Beyond Blocks podcast][0], I spoke with [Sam Mortenson][1] about Single File Components in Drupal as well as building static Drupal websites with Tome.

View file

@ -9,10 +9,10 @@ tags:
- open-source - open-source
- php - php
- design-patterns - design-patterns
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
Whilst working on my secret side project, today I decided to revisit the Null User Drupal module. Whilst working on my secret side project, today I decided to revisit the Null User Drupal module.
drupal_planet: true
--- ---
The Null Object pattern is one of my favourite ways to DRY up code and reduce duplication. The Null Object pattern is one of my favourite ways to DRY up code and reduce duplication.

View file

@ -7,10 +7,10 @@ tags:
- automated-testing - automated-testing
- test-driven-development - test-driven-development
- clean-code - clean-code
- drupal-planet
cta: d7eol cta: d7eol
snippet: | snippet: |
The main objective when writing software is to make it work. The main objective when writing software is to make it work.
drupal_planet: true
--- ---
Your first objective when writing software is to make it work by - any means necessary. Your first objective when writing software is to make it work by - any means necessary.

View file

@ -7,10 +7,10 @@ tags:
- refactoring - refactoring
- automated-testing - automated-testing
- test-driven-development - test-driven-development
- drupal-planet
cta: call cta: call
snippet: | snippet: |
When refactoring, you should have automated tests to ensure it's done safely. When refactoring, you should have automated tests to ensure it's done safely.
drupal_planet: true
--- ---
[Once you have working code][0], you can refactor it to make it better. [Once you have working code][0], you can refactor it to make it better.

View file

@ -8,10 +8,10 @@ tags:
- git - git
- automated-testing - automated-testing
- test-driven-development - test-driven-development
- drupal-planet
cta: d7eol cta: d7eol
snippet: | snippet: |
No-one sees your clean-up commits. No-one sees your clean-up commits.
drupal_planet: true
--- ---
When you're working on a task - [whether you're making it work or making it good][0], you can commit your code changes as often as you like. When you're working on a task - [whether you're making it work or making it good][0], you can commit your code changes as often as you like.

View file

@ -5,10 +5,10 @@ permalink: daily/2024/09/03/do-your-commit-messages-still-make-sense
tags: tags:
- software-development - software-development
- git - git
- drupal-planet
cta: d7eol cta: d7eol
snippet: | snippet: |
Do your commit messages still make sense? Do your commit messages still make sense?
drupal_planet: true
--- ---
Once you've [cleaned up and tided your commits][1], re-ordered them and squashed any commits together to combine them into logical changes, before you push them, you should also check if your commit messages still make sense. Once you've [cleaned up and tided your commits][1], re-ordered them and squashed any commits together to combine them into logical changes, before you push them, you should also check if your commit messages still make sense.

View file

@ -4,10 +4,10 @@ date: 2024-09-04
permalink: daily/2024/09/04/diagram-driven-development permalink: daily/2024/09/04/diagram-driven-development
tags: tags:
- software-development - software-development
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
You've heard of README-driven development, but I've been trying diagram-driven development. You've heard of README-driven development, but I've been trying diagram-driven development.
drupal_planet: true
--- ---
You've heard of README-driven development, where you start by writing a README and documenting what you're going to code you start coding. You've heard of README-driven development, where you start by writing a README and documenting what you're going to code you start coding.

View file

@ -6,10 +6,10 @@ tags:
- software-development - software-development
- static-analysis - static-analysis
- podcast - podcast
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
find vs. get find vs. get
drupal_planet: true
--- ---
This week, I spoke with [Dave Liddament][2] to record an upcoming episode of [the Beyond Blocks podcast][1]. This week, I spoke with [Dave Liddament][2] to record an upcoming episode of [the Beyond Blocks podcast][1].

View file

@ -5,12 +5,12 @@ permalink: daily/2024/09/06/bootcamps-hackathons-meetups-and-drupal
tags: tags:
- software-development - software-development
- drupal - drupal
- drupal-planet
- php - php
- podcast - podcast
cta: ~ cta: ~
snippet: | snippet: |
This week I spoke with George Gordon, who recently got their first Software Developer role. This week I spoke with George Gordon, who recently got their first Software Developer role.
drupal_planet: true
--- ---
This week on the Beyond Blocks podcast, I spoke with George Gordon - a graduate from the School of Code who was recently employed in their first Junior Developer role - about their move into tech and software development, their experiences at hack days and meetups, and their introduction to Drupal. This week on the Beyond Blocks podcast, I spoke with George Gordon - a graduate from the School of Code who was recently employed in their first Junior Developer role - about their move into tech and software development, their experiences at hack days and meetups, and their introduction to Drupal.

View file

@ -4,10 +4,10 @@ date: 2024-09-07
permalink: daily/2024/09/07/find-bugs-sooner permalink: daily/2024/09/07/find-bugs-sooner
tags: tags:
- software-development - software-development
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
Bugs are cheaper to fix the sooner you find them. Bugs are cheaper to fix the sooner you find them.
drupal_planet: true
--- ---
Whilst speaking with Dave Liddament last week, I remembered a slide I've seen in some of his previous presentations, such as [Effective Code Review][0]. Whilst speaking with Dave Liddament last week, I remembered a slide I've seen in some of his previous presentations, such as [Effective Code Review][0].

View file

@ -7,10 +7,10 @@ tags:
- php - php
- clean-code - clean-code
- drupal - drupal
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
Avoiding primitive obsession with value objects. Avoiding primitive obsession with value objects.
drupal_planet: true
--- ---
Something interesting that [Dave Liddament][0] and I discussed was the use of value objects in application code. Something interesting that [Dave Liddament][0] and I discussed was the use of value objects in application code.

View file

@ -5,11 +5,11 @@ permalink: daily/2024/09/10/beyond-blocks-passes-1-000-downloads
tags: tags:
- software-development - software-development
- drupal - drupal
- drupal-planet
- podcast - podcast
cta: ~ cta: ~
snippet: | snippet: |
Beyond Blocks passes 1,000 downloads! Beyond Blocks passes 1,000 downloads!
drupal_planet: true
--- ---
Today, Beyond Blocks - [the podcast I started last year][0] and has 20 published episodes - passed 1,000 total downloads. Today, Beyond Blocks - [the podcast I started last year][0] and has 20 published episodes - passed 1,000 total downloads.

View file

@ -4,11 +4,11 @@ date: 2024-09-11
permalink: daily/2024/09/11/do-you-deploy-on-fridays permalink: daily/2024/09/11/do-you-deploy-on-fridays
tags: tags:
- software-development - software-development
- drupal-planet
- devops - devops
cta: d7eol cta: d7eol
snippet: | snippet: |
Do you deploy changes to production on Fridays? Do you deploy changes to production on Fridays?
drupal_planet: true
--- ---
Do you deploy changes to production on Fridays? Do you deploy changes to production on Fridays?

View file

@ -4,10 +4,10 @@ date: 2024-09-12
permalink: daily/2024/09/12/when-did-you-last-deploy-to-production permalink: daily/2024/09/12/when-did-you-last-deploy-to-production
tags: tags:
- software-development - software-development
- drupal-planet
cta: ~ cta: ~
snippet: | snippet: |
When did you last deploy a change to production? When did you last deploy a change to production?
drupal_planet: true
--- ---
If you've experienced issues or are worried about deploying changes to production, on a Friday or another day, when did you last deploy something? If you've experienced issues or are worried about deploying changes to production, on a Friday or another day, when did you last deploy something?

View file

@ -3,9 +3,9 @@ title: Don't Bootstrap Drupal, Use Drush
date: 2013-11-19 date: 2013-11-19
excerpt: Avoid bootstrapping Drupal manually in your scratch files - Drush has you covered! excerpt: Avoid bootstrapping Drupal manually in your scratch files - Drush has you covered!
tags: tags:
- drupal-planet
- drush - drush
- php - php
drupal_planet: true
--- ---
There are times when doing Drupal development when you need to run a custom PHP There are times when doing Drupal development when you need to run a custom PHP

View file

@ -13,7 +13,7 @@ use: [daily_emails]
<title>{{ page.title }}</title> <title>{{ page.title }}</title>
<description>{{ page.description }}</description> <description>{{ page.description }}</description>
<link>{{ site.url }}/daily</link> <link>{{ site.url }}/daily</link>
{% for email in data.daily_emails if 'drupal-planet' in email.tags %} {% for email in data.daily_emails if email.drupal_planet %}
<item> <item>
<title>{{ email.title }}</title> <title>{{ email.title }}</title>
<link>{{ site.url }}{{ email.url }}</link> <link>{{ site.url }}{{ email.url }}</link>