Article of the week

Recursive bubble sort algorithm in PHP

Recursive bubble sort algorithm in PHP

06 Apr 2017 17:48:19


Recursive bubble sort algorithm implementation in PHP.


Read full article »

Recent articles

Converting tree to correct HTML list in PHP

07 Jul 2017 22:48:43

Converting tree to correct HTML list in PHP

From time to time, when doing coding for the web or otherwise, you might come across a tree of data to be turned into a correct HTML list (what "correct" means in this context will be explained in a minute). In order to meet the requirement, you have to be able to ...

Read more »

Traversing trees in pre-order recursively in PHP

03 Jul 2017 13:58:12

Traversing trees in pre-order recursively in PHP

Like in the real world, trees are ubiquitous in computer programming today. Frequently tree data structure turns out to be a perfect choice for modelling a naturally occurring phenomena and not only them these days. The bad news is, unlike one-dimensional arrays or other data ...

Read more »

 Manipulating HTML based on viewport position with jQuery

29 Jun 2017 15:16:14

Manipulating HTML based on viewport position with jQuery

At times, it is desirable to be able to manipulate a HTML element styling and/or behavior on the basis of its current proximity, presence or absence in the viewport . The viewport is user's visible area of a web page on the screen. However, that is just the tip of the ...

Read more »

Extending WordPress custom menus

29 May 2017 13:23:02

Extending WordPress custom menus

Suppose you have built a custom menu using WordPress GUI for your website. The menu contains a subset of links to posts and pages that your website has to offer. For example, it might not, and in fact it shouldn't, contain a link to a confirmation page, user gets redirected ...

Read more »