diff --git a/source/_daily_emails/2024-08-25.md b/source/_daily_emails/2024-08-25.md index 84f0149f..39cdc3a0 100644 --- a/source/_daily_emails/2024-08-25.md +++ b/source/_daily_emails/2024-08-25.md @@ -8,10 +8,10 @@ tags: - php - feature-flags - css - - drupal-planet cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-08-26.md b/source/_daily_emails/2024-08-26.md index 5312a60f..b2d2f258 100644 --- a/source/_daily_emails/2024-08-26.md +++ b/source/_daily_emails/2024-08-26.md @@ -7,10 +7,10 @@ tags: - drupal - php - automated-testing - - drupal-planet cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-08-28.md b/source/_daily_emails/2024-08-28.md index c52e8180..99016aa0 100644 --- a/source/_daily_emails/2024-08-28.md +++ b/source/_daily_emails/2024-08-28.md @@ -5,12 +5,12 @@ permalink: daily/2024/08/28/single-file-components-in-drupal-with-sam-mortenson tags: - software-development - drupal - - drupal-planet - php - podcast cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-08-30.md b/source/_daily_emails/2024-08-30.md index 315da374..061bd570 100644 --- a/source/_daily_emails/2024-08-30.md +++ b/source/_daily_emails/2024-08-30.md @@ -9,10 +9,10 @@ tags: - open-source - php - design-patterns - - drupal-planet cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-08-31.md b/source/_daily_emails/2024-08-31.md index 8dba6666..c1daf78f 100644 --- a/source/_daily_emails/2024-08-31.md +++ b/source/_daily_emails/2024-08-31.md @@ -7,10 +7,10 @@ tags: - automated-testing - test-driven-development - clean-code - - drupal-planet cta: d7eol snippet: | 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. diff --git a/source/_daily_emails/2024-09-01.md b/source/_daily_emails/2024-09-01.md index 8cc6020c..884f6c3e 100644 --- a/source/_daily_emails/2024-09-01.md +++ b/source/_daily_emails/2024-09-01.md @@ -7,10 +7,10 @@ tags: - refactoring - automated-testing - test-driven-development - - drupal-planet cta: call snippet: | 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. diff --git a/source/_daily_emails/2024-09-02.md b/source/_daily_emails/2024-09-02.md index 4582204d..4584ae40 100644 --- a/source/_daily_emails/2024-09-02.md +++ b/source/_daily_emails/2024-09-02.md @@ -8,10 +8,10 @@ tags: - git - automated-testing - test-driven-development - - drupal-planet cta: d7eol snippet: | 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. diff --git a/source/_daily_emails/2024-09-03.md b/source/_daily_emails/2024-09-03.md index 64131e79..3da2f11a 100644 --- a/source/_daily_emails/2024-09-03.md +++ b/source/_daily_emails/2024-09-03.md @@ -5,10 +5,10 @@ permalink: daily/2024/09/03/do-your-commit-messages-still-make-sense tags: - software-development - git - - drupal-planet cta: d7eol snippet: | 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. diff --git a/source/_daily_emails/2024-09-04.md b/source/_daily_emails/2024-09-04.md index a0ec2e93..dd6f8dd4 100644 --- a/source/_daily_emails/2024-09-04.md +++ b/source/_daily_emails/2024-09-04.md @@ -4,10 +4,10 @@ date: 2024-09-04 permalink: daily/2024/09/04/diagram-driven-development tags: - software-development - - drupal-planet cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-09-05.md b/source/_daily_emails/2024-09-05.md index 490eca9d..090112dc 100644 --- a/source/_daily_emails/2024-09-05.md +++ b/source/_daily_emails/2024-09-05.md @@ -6,10 +6,10 @@ tags: - software-development - static-analysis - podcast - - drupal-planet cta: ~ snippet: | 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]. diff --git a/source/_daily_emails/2024-09-06.md b/source/_daily_emails/2024-09-06.md index 1502f66e..ba38aa1a 100644 --- a/source/_daily_emails/2024-09-06.md +++ b/source/_daily_emails/2024-09-06.md @@ -5,12 +5,12 @@ permalink: daily/2024/09/06/bootcamps-hackathons-meetups-and-drupal tags: - software-development - drupal - - drupal-planet - php - podcast cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-09-07.md b/source/_daily_emails/2024-09-07.md index c8f42685..fcb7186a 100644 --- a/source/_daily_emails/2024-09-07.md +++ b/source/_daily_emails/2024-09-07.md @@ -4,10 +4,10 @@ date: 2024-09-07 permalink: daily/2024/09/07/find-bugs-sooner tags: - software-development - - drupal-planet cta: ~ snippet: | 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]. diff --git a/source/_daily_emails/2024-09-09.md b/source/_daily_emails/2024-09-09.md index af77ec86..8c0dc2f9 100644 --- a/source/_daily_emails/2024-09-09.md +++ b/source/_daily_emails/2024-09-09.md @@ -7,10 +7,10 @@ tags: - php - clean-code - drupal - - drupal-planet cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-09-10.md b/source/_daily_emails/2024-09-10.md index 882df4bf..8951a6f9 100644 --- a/source/_daily_emails/2024-09-10.md +++ b/source/_daily_emails/2024-09-10.md @@ -5,11 +5,11 @@ permalink: daily/2024/09/10/beyond-blocks-passes-1-000-downloads tags: - software-development - drupal - - drupal-planet - podcast cta: ~ snippet: | 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. diff --git a/source/_daily_emails/2024-09-11.md b/source/_daily_emails/2024-09-11.md index 501d3919..532e4af7 100644 --- a/source/_daily_emails/2024-09-11.md +++ b/source/_daily_emails/2024-09-11.md @@ -4,11 +4,11 @@ date: 2024-09-11 permalink: daily/2024/09/11/do-you-deploy-on-fridays tags: - software-development - - drupal-planet - devops cta: d7eol snippet: | Do you deploy changes to production on Fridays? +drupal_planet: true --- Do you deploy changes to production on Fridays? diff --git a/source/_daily_emails/2024-09-12.md b/source/_daily_emails/2024-09-12.md index 7165f9e4..24977a3e 100644 --- a/source/_daily_emails/2024-09-12.md +++ b/source/_daily_emails/2024-09-12.md @@ -4,10 +4,10 @@ date: 2024-09-12 permalink: daily/2024/09/12/when-did-you-last-deploy-to-production tags: - software-development - - drupal-planet cta: ~ snippet: | 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? diff --git a/source/_posts/dont-bootstrap-drupal-use-drush.md b/source/_posts/dont-bootstrap-drupal-use-drush.md index d4edcf16..d7abe37b 100644 --- a/source/_posts/dont-bootstrap-drupal-use-drush.md +++ b/source/_posts/dont-bootstrap-drupal-use-drush.md @@ -3,9 +3,9 @@ title: Don't Bootstrap Drupal, Use Drush date: 2013-11-19 excerpt: Avoid bootstrapping Drupal manually in your scratch files - Drush has you covered! tags: - - drupal-planet - drush - php +drupal_planet: true --- There are times when doing Drupal development when you need to run a custom PHP diff --git a/source/rss/drupal-planet.xml.twig b/source/rss/drupal-planet.xml.twig index 26ceabc3..6fc99555 100644 --- a/source/rss/drupal-planet.xml.twig +++ b/source/rss/drupal-planet.xml.twig @@ -13,7 +13,7 @@ use: [daily_emails]