Skip to main content

Funny Drupal modules that help us deal with the insane learning curve!

Glasses nose moustache disguise
Drupal is not the only community where software exists just because it either is funny or does something funny. For example, the Linux community has its own share of jokesters! I've talked about some weird distro's here, namely Ubuntu Satanic, Hanah Montana Linux, biebian etc. Many software have been named because of awesome puns or as an homage to a movie or TV series. Apache comes to mind. "A-patchy" server. Get it? Python is named python because Guido van Rossum was reading the published scripts from “Monty Python's Flying Circus”, a BBC comedy series from the 1970s. KDE does something I find very interesting. The browser that ships with KDE is called Konqueror, the terminal - Konsole, the text editor - Kate, the camera app - Kamoso, and the system monitor - Ksysguard. I kommend their konsistency. I Kould go on but let's get back to Drupal. 

Setting up Drupal on ddev for drupal core contributions

PHPUnit
Drupal is an open-source content management system that relies on the contributions of its passionate community to thrive and evolve. If you're interested in contributing to Drupal Core, you'll need a development environment that allows you to work efficiently and effectively. One popular choice for creating a local development environment for Drupal is DDEV. In this article, we'll walk you through the process of setting up Drupal on DDEV for Drupal Core contributions.

Why is Drupal perfect for non-profits and NGOs?

QED42 Clients

Drupal is considered a good CMS (Content Management System) for NGOs (Non-Governmental Organizations) and Non-profits and is often recommended for their websites and technology products. Drupal is a flexible and powerful open-source CMS that offers a range of features and capabilities that align well with the needs of NGOs. The Drupal CMS, it's community and it's philosophy has uniquely evolved to fit this particular use case perfectly. Let's look at some of them closer.

How proper SEO and the Drupal CMS helped my article be a Google featured snippet

SEO
Proper search engine optimization (SEO) techniques and the use of Drupal 10 played a significant role in making my article a Google search featured snippet for the keyword "Solid Principles Drupal". In this article, we will explore how these factors contributed to the success and visibility of the article.

Software Design Patterns: Drupal's architecture and reusability

Design patterns

Software design patterns are crucial tools in the field of software development, providing developers with proven solutions to common programming challenges. These patterns encapsulate the collective wisdom and best practices of experienced software engineers, enabling the creation of robust, scalable, and maintainable code. In this article, we will explore the importance of design patterns in programming, their benefits, and some popular examples of design patterns using Drupal in most examples, because I try to bring Drupal into everything. 

Why being a back-end developer without ever writing any front-end code is a bad idea even though it is possible

Frontend and Backend
While it is possible to specialize in backend development without any knowledge of the frontend, it is not a good idea. Backend developers who understand the frontend can collaborate better with frontend developers, troubleshoot issues, and produce better quality code that is optimized for the user experience. With the growing demand for full-stack developers, having experience in both frontend and backend development can open up more career opportunities.

Design patterns in Drupal

Patterns
Drupal follows best practices in software development by utilizing various design patterns. Design patterns are established solutions for common programming challenges, providing a structured and reusable approach to software design. In Drupal, these design patterns are used to ensure extensibility, flexibility, scalability and maintainability of the CMS. From the Observer pattern for event handling, to the Plugin pattern for modular functionality, to the Factory pattern for object creation, Drupal leverages a variety of design patterns to implement its robust architecture. This introduction provides a glimpse into the key design patterns used in Drupal CMS, which play a crucial role in shaping its modular and flexible nature

SOLID principles in Drupal

Drupal
As one of the most popular open-source content management systems (CMS), Drupal provides a powerful platform for building complex web applications. To ensure that Drupal projects are scalable, maintainable, and extensible, it is essential to follow best practices for writing modular and clean code. One such set of principles that can greatly aid in achieving these goals is SOLID principles. SOLID is an acronym that represents a set of five principles - Single Responsibility Principle (SRP), Open/Closed Principle (OCP), Liskov Substitution Principle (LSP), Interface Segregation Principle (ISP), and Dependency Inversion Principle (DIP). In this article, we will explore how to apply SOLID principles in Drupal development with examples.

How dependency injection works in Drupal?

Drupal
In Drupal, dependency injection is implemented using the Symfony Dependency Injection component, which is a popular PHP library for managing dependencies in object-oriented applications. Drupal is built on top of Symfony framework and leverages its components for various functionalities, including dependency injection

6 best linux distros for everyday use

Top Linux Distros
When it comes to choosing a Linux distribution, ease of use is often a crucial factor, especially for beginners or users transitioning from other operating systems. With the wide variety of Linux distributions available, it's important to understand which ones are known for their user-friendly design and straightforward user experience. In this comparison, we will take a closer look at popular Linux distributions such as Pop!_OS, Ubuntu, Linux Mint, Manjaro, Fedora, MX Linux, Zorin OS, and Elementary OS, and evaluate their ease of use based on their interfaces, documentation, community support, pre-installed software, and overall user experience. Whether you're a seasoned Linux user or new to the world of open-source operating systems, this comparison will help you make an informed decision about which distribution may be the best fit for your needs and preferences.

Tags

A CDN cache warmer in Rust

Cache Memory
While using CDN caches like Cloudflare or Akamai and even for http caches like Varnish, it is important to "warm the cache" after deployments when the caches are usually cleared. This means sometimes manually loading up all the important pages for the first time so that it is loaded into cache. What if this could be automated through the sitemap using a simple CDN cache warmer.

Tags

Drupal security best practices

Drupal Security
I was recently looking certain random things for all Drupal sites that I know to see what information I can get from these sites and I was surprised to see that many of them do not have the basic Drupal security recommendations done. For example, I could tell the exact Drupal, PHP and Nginx versions in many cases. Some of the sites were on Drupal versions that were vulnerable. So I decided to write a checklist that if followed exactly will take care of at least the recommended best practices.

Use cloudflare to speed up your Drupal site and save money

Drupal + Cloudflare
If you're running a small Drupal site on limited space like I am, you'll probably not have more than 30 GB for hard disk space and maybe 2 vCPU and 2 GB RAM on your server. This could affect your Drupal site speed if there are a lot of images or even with time as the content grows, you'll have server load issues. I've optimized my site so much that the performance is 98-100 on most pages and still able to sustain a viewership of 250 - 500 views per day without the server freaking out.

How to increase productivity as a Drupal Developer

Drupal Development

These are few things I picked up and still learning on my Drupal development journey that made my life easier. I love the architecture of Drupal but do find sometimes the amount of code to write, effort and learning curve a bit tedious. But these are all solvable issues. And I have solved them (more or less). Here are some tips for the same.

Why I decided to use Scaleway to host my Drupal website?

Scaleway Logo
This website https://abh.ai has been hosted on almost all of the major players in the cloud hosting business. I started out with Scaleway around 7 years ago when they were providing these small ARM options with 20GB SSD. It was the cheapest solution back then costing less than 5€. But that doesn't mean it wasn't a good solution. It was excellent! It was fast and reliable. But because it was ARM and at the time a 32-bit processor, many things like docker could not be properly installed. This is why I decided to look for alternatives, which eventually brought me back to Scaleway!

Setting up dev servers at home with Raspberry Pis

Raspberry PI Cluster

This is a personal project of mine that has excited me a lot. I have always been obsessed with Single Board Computers (SBC) and the amazing things we can do with them. One of the most popular SBC is Raspberry Pi. They have pioneered the hardware and software capabilities for SBCs. Now we can run an Ubuntu server on any Raspberry Pi device. With Raspberry Pi, you can easily set up a server cluster at home and even host your own website, provided you have a strong internet connection and uninterrupted power supply.

Subscribe to ASB Articles & shorts
x

Work

Therefore logo
80 Atlantic Ave, Toronto, ON Canada
Email: hello@therefore.ca
Call us: +1 4166405376
Linkedin

Let us know how we can help!