The Zero-NULL game means that if 0 or NULL is used incorrectly then everyone loses. At every place I worked[…]
Read moreLatest Posts
A definition of a Model
Today I’m going to talk about an important concept in what is called Model-View Controller. And it has Model in its[…]
Read moreRepository Pattern
The repository pattern is one of the most useful design patterns that can be used in every software architecture. Every[…]
Read moreHow to detect bad architecture?
The architecture of your application is important and you should be able to detect a bad one. I have been[…]
Read moreWhen to use objects instead of arrays?
In PHP you can use arrays as parameters to pass data. But isn’t it better to use an object? The[…]
Read moreWhy use interfaces?
Over the last year I have seen a lot of developers questioning the use of interfaces. Especially those which are[…]
Read moreLaw of Demeter
The Law of Demeter is a design guideline with as goal to create loose coupling between objects. It is also[…]
Read moreDon’t Repeat Yourself (DRY)
Code duplication is bad and should be avoided. You should do your best to make sure you don’t repeat yourself[…]
Read moreClean Code PHP – Classes
In my previous blog post I talked about Abstraction and Encapsulation. This are important concepts. Today we go deeper into[…]
Read moreClean Code PHP – Abstraction and Encapsulation
So Abstraction and Encapsulation. You might have heard this before. We should correctly encapsulate our data and we should abstract[…]
Read more