Blog
Articles on PHP design patterns, testing strategies, data structures, and clean architecture.
-
Heaps explained in PHP
Category: Data StructuresHeaps are an effective data structure for quick access to the highest value of a dataset.
-
Using the Visitor Pattern in PHP
Category: Patterns for the Rest of UsThe Visitor Pattern opens up your entities to extension without changing them (much); and keeps the code separate.
-
Trees and Tree Traversal in PHP
Category: Computer ScienceIn this post I want to introduce you to Tree structures. What they are, how you can use them, and in which situation they can be helpful.
-
Adapter Pattern vs. Bridge Pattern
Category: Patterns for the Rest of UsThe Adapter pattern and the Bridge Pattern have brought along a lot of confusion. Time to connect the dots.
-
What happens when we clone?
Category: How does it workCloning is a nice way of creating a quick copy of an object. But there are some things you need to be aware of!
-
Decorator Pattern vs. Proxy Pattern
Category: Patterns for the Rest of UsAlthough similar, Decorators and Proxies are not the same. It all depends on their intent.