The Factory pattern in PHP
The Factory pattern, probably the most commonly used in PHP.
The Singleton Pattern in PHP
The singleton pattern in PHP is rarely explained and often misunderstood. Let's try to clear that up.
Triggers and Procedures in MySQL/MariaDB
Triggers and procedures can be powerful tools in MySQL and MariaDB. It's worth knowing what they are and how to use them.
Foreign keys in MySQL/MariaDB
Foreign keys are an important part of relational databases. In this article we will explore what they do, when to use them and how to use them.
Bitwise Operations in PHP
Bitwise operations can be pretty useful, especially for things like flags. Unfortunately, many PHP developers don't realise the power of Bitwise operations.