Problem with most simple examples showing how to use PHP Unite Test is that the examples are – well – simple. It looks like – yes, PHPUnit Testing is working, but not worth using (too simple scenarios). The reality is,…
PHP Development, Laravel, CodeIgniter
Problem with most simple examples showing how to use PHP Unite Test is that the examples are – well – simple. It looks like – yes, PHPUnit Testing is working, but not worth using (too simple scenarios). The reality is,…
The below code probably shows example of the most useful usage of array_filter() function, where you can use both associative array key and value, and on top of that, also inject external parameter to callback function. $score = 150; $players…
Singleton pattern is used where you need to handle some kind of expensive task – like connection to a database – and you want to be sure that only one instance of an object exists at a time. A very…
In object oriented programming there are some rules which help to keep development less messy and maintenance of developed systems easier and cheaper. One of such set or rules are SOLID principles: S – Single Responsibility Principle O – Open-Closed…
No doubt that both WordPress and CodeIgniter are excellent technologies, and this post is not about why one of them or the other is better. There is a good reason why WordPress is so popular, and also CodeIgniter, which is…