Blog
Dhemy’s blog is packed with articles on software development, productivity, data structures and algorithms, plus a sprinkle of personal musings!
We need more tests
Well, It’s not about Coronavirus pandemic this time 😷. Moisés Belchín Martínez (Moi), my awesome ex-CTO, keeps repeating these words...
Read article →
PHP Real-world use cases of singleton design pattern
The singleton pattern ensures that a class has only one instance and provides global access to it. Okay, many developers...
Read article →
How to test Elasticsearch in PHP applications
Starting from Elasticsearch 8.0, they introduced multiple breaking changes in the Elasticsearch client library. This article is intended to v...
Read article →
Why you need a builder to create your entities and models
Static factories and constructors share a limitation; they do not scale well to large numbers of optional parameters. Consider the...
Read article →
Three advantages of using static factory methods in PHP
Constructor overloading is a concept of having more than one constructor with a different list of parameters. PHP doesn’t allow...
Read article →