Don't base the Drupal Planet feed on tags
This commit is contained in:
parent
74042f01e1
commit
e55a47f611
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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].
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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].
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -13,7 +13,7 @@ use: [daily_emails]
|
|||
<title>{{ page.title }}</title>
|
||||
<description>{{ page.description }}</description>
|
||||
<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>
|
||||
<title>{{ email.title }}</title>
|
||||
<link>{{ site.url }}{{ email.url }}</link>
|
||||
|
|
Loading…
Reference in a new issue