Latest Blog Posts

Deprecation fails when testing Drupal 8

Submitted by timmillwood on Mon, 26/02/2018 - 08:57

With each release of Drupal 8 more and more things are being deprecated, which is awesome. It shows innovation, forward thinking, and a thought for backwards compatibility. However throwing notices or warnings when deprecated code is used can cause tests to fail. We already counter this a little by adding <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors"> to phpunit.xml.dist in core.

To quote the Symfony documentation:

10 years of Drupal

Submitted by timmillwood on Wed, 10/01/2018 - 13:28

At 12:54pm on January 15th 2008 (based on the created time stamp of "1200401651") I signed up for my account while working for International Baccalaureate. Before my interview there I had never heard of Drupal, but managed to ace the interview and get the job, no idea why I didn't bother signing up for until after I started the job, but hey, that's just how it was. It was jamesfk who introduced me to Drupal there and who I worked with building a bunch of community sites in Drupal 5, then 6.

Drupal Service ID Collectors

Submitted by timmillwood on Thu, 14/12/2017 - 09:29

Since Drupal 8 we've had services. This also brought the concept of a service collector or tagged services. This allows services to be tagged with a specific tag, then a service collector can collect all services with the a given tag and use whichever service "applies".

As you could imagine loaded all of these tagged services when loading the service collector service can be a performance nightmare, which is why Drupal 8.4.0 brought us service ID collector functionality.

Dreditor for Firefox

Submitted by timmillwood on Thu, 23/11/2017 - 09:33

Last week I switch from years of using Chrome to Firefox 57 because of all the hype about it being fast, and that I'd been suffering from Chrome using up to 10GB of ram. The big issue I hit though was I didn't have Dreditor and there seemed to be no way to install it. I decided to go on using Firefox without Dreditor, and loading Chrome every time I needed to do an in depth patch review.

What is Drupal?

Submitted by timmillwood on Sun, 30/04/2017 - 12:28

In his keynote at DrupalCon Baltimore 2017, Dries talked for some time about how Drupal is now for Ambitious Digital Experiences. There has been a lot of talk over the last few years, especially since Drupal 8 was release, that Drupal is now an enterprise CMS. With this keynote it seems as though Dries is, in a way, acknowledging this. Ambitious Digital Experiences reads as something more complex than a blog, a brochure site, or sites for SMEs.