#hashbangcode

New! Drupal 11: Making Interactive Elements With HTMX

HTMX is a JavaScript library that allows you to make ajax calls and create CSS transitions without writing any JavaScript code.

In this article we will look at how HTMX is integrated into Drupal, and what services exist to help you use it within the Drupal system.

hashbangcode.com/article/drupa
#drupal #htmx #drupalDevelopment #hashbangcode

New! DrupalCamp England 2026

Last weekend Phil attended DrupalCamp England 2026, at the University of Salford.

In this article, Phil writes about his experiences at the camp over the two day event.

hashbangcode.com/article/drupa
#drupal #drupalCampEngland #drupalCampEngland2026 #hashbangcode

Next Tuesday is the first #! code meetup.

For our first session, @philipnorton42 will be talking about HTMX in Drupal.
This will be an online event, hosted via zoom.

RSVP here : luma.com/kyr1krhe
#hashbangcode

New! Running An LLM With Llama.cpp Using Docker On A Raspberry Pi

In this article we will look at how to get an LLM running on a Raspberry PI via a docker container, and what sort of things we might be able to do with it.

hashbangcode.com/article/runni
#ai #raspberryPi #drupal #hashbangcode

From the archive! A Look At HTMX With PHP

In this article we will look at how to get HTMX working with a vanilla PHP backend. With a few examples of the two systems working together.

hashbangcode.com/article/look-

This ties into a package just released that shows a lot of different examples of HTMX working with a PHP backend.

github.com/hashbangcode/htmx-p

#htmx #php #hashbangcode

New! Leaving Meetup.com And Extracting Past Event Data Without API Access

In this article Phil shows how he was able to dig into the meetup.com site to see how the data was presented, and how he was able to MacGyver a solution in PHP to download the past data for a group as a CSV file.

hashbangcode.com/article/leavi
#api #php #hashbangcode

New! Nothing Phone (3): A Review

In this article, Phil looks at the main features of the Nothing Phone (3) and what it's been like to use it for the last few months.

hashbangcode.com/article/nothi
#tech #review #nothing #hashbangcode

From the archive! Creating A Text Adventure Game In Godot

In this article Phil will goes through the steps required to create a (very simple) text adventure game that allows for navigation around a number of rooms and interacting with locks and keys.

The system uses a JSON data structure to create the rooms and items so can be adapted for different games.

Fun fact; this is one of our most popular articles.

hashbangcode.com/article/creat
#godot #gameDev #hashbangcode

New! Drupal 11: Finding A Better Way To Display Code Examples

In this article I will look at a few code sandboxes and how they might be integrated into Drupal.

I'll then look at one code sandbox in particular and allow this to be embedded into article content.

hashbangcode.com/article/drupa
#drupal #drupal11 #javascript #hashbangcode

From the archive! Getting Started With Git Bisect

This is a detailed introduction into using git bisect to find problems in git repos.

We look into the bisect algorithm, how it's used in git, and some examples of using the system to find where a problem was introduced in a repo.

hashbangcode.com/article/getti
#git #programming #hashbangcode

New! Drupal 11: Theming The Search API Search Input

In this article we will look at how we can use a combination of form alters and suggestion hooks to change the Search API form submit input to a button. This is so that an SVG magnifying glass icon can be embedded inside.

hashbangcode.com/article/drupa
#drupal #drupal11 #drupalDevelopment #hashbangcode

From the archive! Creating A Character Bitmap In PHP

In this article, Phil looks at re-creating a method of character encoding from the early days of computing.

The code converts numbers into binary and then converts that into dots on a matrix.

hashbangcode.com/article/creat
#php #hashbangcode

The letters www.hashbangcode.com written in red text, created by the character bitmap process from the post.

Our latest article on controling LED lights through Drupal by @philipnorton42 was featured by Dries Buytaert (the founder of Drupal)
dri.es/christmas-lights-powere
Dries gives us some interesting ideas on extending this project, so we'll have to do something more with this next year.
#drupal #drupalDevelopment #hashbangcode

New! Drupal 11: Controlling LED Lights Using A REST Service

It is quite easy to create RESTful services in Drupal; it just needs a single class. All I would need to do is create a form to control the colour that is selected in the REST service.

In this article we will look at creating a Drupal module containing a RESTful interface, which we will connect to with the Plasma 2350 W to update the colour of the lights.

hashbangcode.com/article/drupa
#drupal #drupal11 #microPython #hashbangcode

New! Creating Better LED Lights With The Pimoroni Plasma 2350 W

It's that time of year again (Decemberween) so I was looking around for a set of addressible LED string lights to est up.

In this article we will look at the Plasma 2360 W, setting up the board, and even some simple examples of programming it using MicroPython.

Read more here: hashbangcode.com/article/creat

#microPython #review #hashbangcode

A shot of the star shaped LED lights that come with the Plasma 2350 W kit. They are blue and are pictured against a wall.

New! Drupal 11: How To Alter Entity View Builder Configuration Before Rendering

In this article we will look at using the view builder to generate a renderable view of an entity and then look at how to alter the attributes of the view mode without using a preprocess hook.

hashbangcode.com/article/drupa
#drupal #drupal11 #drupalDevelopment #hashbangcode

From the archive! A Look At Flood Fill Algorithms In PHP

If you have ever used a paint program then you might have used a flood fill algorithm. This is a mechanism by which an area of an image can be filled with a different colour.

In this article we will look at two flood fill algorithms, in PHP, and then extend them to look at using a threshold to control how much of the image is filled in.

hashbangcode.com/article/look-

#php #development #algorithm #gd2 #hashbangcode

New! DrupalCamp Scotland 2025

This year, DrupalCamp Scotland was held on the 7th November, at the University of Edinburgh.

In this article Phil writes all about the day, including how his own talk went.

hashbangcode.com/article/drupa
#drupal #drupalCamp #drupalCampScotland #hashbangcode

From the archive! Drupal 10: Creating A Notification System Using The Message And ECA Modules

In this article we will look at how to create a notifications system that will tell users about important events that they might be interested in.

This uses the Message, ECA, and Token modules (and some glue code) to create an event message system.

hashbangcode.com/article/drupa
#drupal #drupalDevelopment #eca #hashbangcode

New! Drupal 11: Programmatically Change A Layout Paragraphs Layout

The Layout Paragraphs module is a great way of combining the flexibility of the layout system with the content component sytem of the Paragraphs module.

In this article we will look at the structure of the Layout Paragraphs module and when how to move a Layout Paragraph from one layout to another using PHP.

hashbangcode.com/article/drupa
#drupal #drupalDevelopment #paragrpahs #hashbangcode

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst