Removing jQuery from your Drupal themeIn a previous article Using ES6 in your Drupal Components, we discussed writing our javascript using the modern ES6 methods and transpiling down for older browsers. It still used jQuery as an interim step to make the process of refactoring existing components a little easier. But let's go all the way now and pull out jQuery, leaving only modern, vanilla javascript.Rikki Bochow Front end Developer
Automate your Drupal accessibility testing with aXe and NightwatchJSAutomated accessibility tools are only one part of ensuring a website is accessible, but it is a very simple part that can catch a lot of really easy to fix issues. Issues that when found and corrected early in the development cycle, can go a long way to ensuring they don’t get compounded into much larger issues down the track.Rikki Bochow Front end Developer
Decoupling the model from DrupalBack in the Drupal 6 days, I built the BOM Weather Drupal module to pull down weather data from the Australian Bureau of Meteorology (BOM) site, and display it to users.We recently had a requirement for this in a new Drupal 8 site, so decided to take a more modern approach.Kim Pepper Co-Founder & Tech Director
How to create and expose computed properties to the REST API in Drupal 8In Drupal 8.5.0, the "processed" property of text fields is available in REST which means that REST apps can render the HTML output of a textarea without worrying about the filter formats.In this post, I will show you how you can add your own processed fields to be output via the REST API.Jibran Ijaz Senior Drupal Developer
Patch Drupal core without things ending up in core/core or core/bIf you've ever patched Drupal core with Composer you may have noticed patched files can sometimes end up in the wrong place like core/core or core/b. Thankfully there's a quick fix to ensure the files make it into the correct location.Saul Willers Senior Developer
Containerized Databases for DevelopersAnnouncing MySQL Toolkit, a set of commands for sanitising, packaging and deploying MySQL images.Nick Schuch Operations Lead
A Review: Web Directions Design Leaders and Design 2018Web Directions Design was held over three days in April 2018 with great presentations spanning a broad range of topics across the design industry. Some were focused on emerging technologies such as eye tracking, Blockchain and voice UI, others on the importance of research and ethics in design. Richard Sison User Experience Lead
Making your Drupal 8 kernel tests fail when there is an exception during cronSeveral times in the past I've been caught out by Drupal's cron handler silently catching exceptions during tests.Your test fails, and there is no clue as to why.Read on to find out how to shine some light on this, by making your kernel tests fail on any exception during cron.Lee Rowlands Senior Developer
Bare Templates: Removing Unnecessary Markup in Twig filesIn most of the projects we build, the HTML markup provided by core just gets in the way. There is way too many wrapper divs. This can cause issues when trying to create lean markup that matches what is produced in a generated styleguide.In this post, I'll introduce you to the concept of bare templates, and how you can remove unnecessary markup from your Twig templates.Pasan Gamage Drupal Developer