Article of the week

Traversing trees in pre-order recursively in PHP

Traversing trees in pre-order recursively in PHP

03 Jul 2017 13:58:12


Article on traversing tree data structure depth-first in pre-order recursively with examples in PHP programming language.


Read full article »

Recent articles

installing PHPUnit

18 Feb 2017 15:10:51

installing PHPUnit

If you are any serious about writing code in PHP computer language you have tried some unit testing frameworks by now. Some of them are better than others, one that really stands out, both in terms of code quality and documentation is Sebastian's Bergmann PHPUnit. ...

Read more »

Arrays in BASH

12 Feb 2017 14:48:27

Arrays in BASH

Once one is somewhat familiar with basic number and string handling rules in BASH, it is time to move on to learning about a container for these. BASH provides one such a convenient container in the form of array. This article is about the number indexed arrays. If you've ...

Read more »

BASH recursion examples - part 2

30 Jan 2017 17:08:29

BASH recursion examples - part 2

This article is a follow-up on the subject of writing recursive code in BASH. In the first part of the series I focused on a few more popular Maths functions and how one could implement them in BASH. In this instalment focus shifts to tasks one often comes across whilst ...

Read more »

Essential WordPress plugin hooks

17 Jan 2017 11:57:41

Essential WordPress plugin hooks

In this article I look at some essential WordPress hooks. By 'essential hooks' I mean actions and filters you use frequently when writing a WordPress plugin. Sometimes in the context of this article 'essential hook' refers to a hook you cannot do without to ...

Read more »