Drupal 9: Views bulk operation
Views bulk operations are a great tool for mass content operations in Drupal, and creating a bulk action is pretty simple. For this post, we’ll set ourselves the task of creating a bulk action for adding tags to the selected nodes. I have created a basic installation for my Drupal 9 Code Examples, and we’ll be using this as a baseline. Disclaimer this example does not aim to meet all possible implementations but is targeted at the specific installation.
NoTTL - A new caching concept?
There is an old joke in IT that goes “The 2 hardest things in programming is Naming, Caching, and off by one error’s”. I’ve often said there is another one: the first-hit performance problem. I’ve worked with several websites where everything is fine when the cache is there, but then it expires and you’re left with dreadful 3-5 second load times at best, and sometimes a lot more. Users leave the site, google gives you a bad score, and as a result your SEO rank drop, adding to the downward spiral.
Did you notice the lack of a consent popup on this website? That’s because there are no cookies here, because this site doesn’t need them. Conventional wisdom is that you always need tracking and analytics, but if you never use the data, do you really need it? Are you making an informed choice when you interact with the consent popup, or simply clicking it to make it go away? GDPR was a hot topic in 2017-18, and while we’ve gotten a lot of tools to manage the cookie part it’s still an area where a lot of questions come up.
Hugo: A flat file CMS.
As a developer, I’ve had plenty of experience setting up sites for clients, but when it comes to my own site, I often can’t be bothered. WordPress is too much of mess, Drupal is too heavy and working with Laravel or Symfony usually ends up being an exercise in the “perfect” rather than a functional website. For a few years now, I’ve had a basic website with minimal information, built on Slim Framework - a lightweight version of Laravel.