Section: Web Dev-programming
PHP Observer Design Pattern
November 11, 2021 · 4 min read
The Observer design pattern is very common, and luckily is a very easy concept to understand.
The Adapter Design Pattern in PHP
November 11, 2021 · 3 min read
The adapter design pattern is an easy to understand design pattern. Here is a guide (using PHP to help) to explain it all.
The Decorator Design Pattern in PHP (with easy to follow example)
November 11, 2021 · 5 min read
The decorator pattern explained
Strategy Design Pattern in PHP
November 11, 2021 · 3 min read
A simple to understand explanation and examples for the strategy design pattern (using PHP)
The Chain-of-responsibility programming design pattern
November 11, 2021 · 4 min read
The Chain of Responsibility design pattern is gaining in popularity, since being part of the PSR-15 standard (HTTP Request Middleware). Here is a quick overview of it. It let's you chain actions, and often gives them the ability to stop the chain.
The Composite Design Pattern
November 11, 2021 · 1 min read
A simple to understand description of the Composite design pattern, using PHP.
The Front Controller Design Pattern (using PHP)
November 1, 2021 · 2 min read
The front controller is a simple to understand design pattern where you have a main controller that handles every request for a website. It is a commonly used design pattern for many MVC based web applications.
Specification Design Pattern in PHP
October 20, 2021 · 5 min read
An introduction and easy to understand explanation of the Specification pattern, described using PHP.
The Repository Pattern in PHP (and Laravel)
October 16, 2021 · 4 min read
An easy to understand description of the Repository Pattern in PHP, including generic examples and examples specific to Laravel.
PHP Template Method Pattern
August 9, 2021 · 6 min read
A simple to understand introduction to the popular template method pattern.
The Service Locator Design Pattern in PHP
July 1, 2021 · 1 min read
An easy to follow explanation of the Service Locator design pattern, in PHP.
How to add a gradient overlay to a background image using just CSS and HTML
June 16, 2021 · 2 min read
Adding a background image to a <div> (or any other tag) is easy using CSS. Use these example rules to get a nice gradient that goes over the top of a background image, without adding any additional divs. All in CSS.