That's a New Trick.
Blog of 💻
Brendan Tuckerman

Newest Tricks

An illustration of a stuffed PHP elephant placed on the keyboard of a laptop.

PHP Spotlight: get_loaded_extensions()

#PHP

by NewTrick on 21 Jul 2025

Today's spotlight looks at a couple of very useful PHP functions  that can help if you are running multiple PHP versions, working on unfamiliar set ups, or want to know more about what functions are available in your PHP installation.These funct...
5 stars on a coloured background

Create a pop-up survey in Drupal

#Drupal #webforms

by NewTrick on 15 Jul 2025

This guide outlines the steps to build a simple pop up survey using Drupal webforms.The goal is to build a small user satisfaction survey that appears on the bottom of the page (and then leaves the user in peace once done). This would be useful ...
An illustration of a stuffed PHP elephant placed on the keyboard of a laptop.

PHP Spotlight: Match

#PHP

by NewTrick on 15 Jul 2025

PHP's match is a cool little expression that allows evaluation based on the identity check of a value. It's a bit like switch, but instead of checking for weak equality (==), it will check for identity (===).Used correctly, it has the potential to cl...
A toy robot with other small toys unfocussed on the background

'I am not a robot': reCaptcha v3 on a Symfony form

#symfony

by NewTrick on 06 Jul 2025

One of the most common ways to prevent spam, bots, and password stuffing attacks on your website is through the use of reCaptcha. You've undoubtedly seen it if you've ever been asked to click on tiles containing traffic lights or clicking the box 'I ...
A screenshot of the cover of the report

Digital Government Index 2025

#accessibility #web development

by NewTrick on 03 Jul 2025

Adobe has released its Digital Government Index for 2025, which aims to measure efficiency, accessibility, reliability and security of online government services.The report looked at digital services through the metrics of 'digital equity', 'customer...