Web Developer Zone
Web Developer Zone is a code first section devoted to tools and techniques used in web development. Thematically, the main focus here is on PHP, Linux, BASH, JavaScript and a little bit of MySQL and Python.
Pick of the week

Setting home and siteurl dynamically in Wordpress
10 Dec 2016 09:44:06
Article on how to leverage WordPress hooks to set home and site_url dynamically.
Popular

06 Sep 2017 23:04:22
Mapping numeric score to feedback message in PHP
Article on mapping a numeric or percent score to a feedback message with code examples in PHP programming language.

21 Dec 2016 11:07:56
Genericons unicode values
List of Unicode code points for Genericons vector icon set and a BASH script that finds the codes.

03 Aug 2020 00:39:31
Piping JSON object to PHP script
Article about how to pass data from a shell to a PHP script with a pipe on the command line or directly using PHP system function.

14 Jul 2020 11:08:06
Recursively updating deeply nested arrays in PHP
An article on recursively updating deeply nested arrays using array_walk_recursive and custom nested array traversal function in PHP.

28 Jan 2022 12:34:11

15 Jul 2023 16:56:31
Get logged-in user username and groups with Python
Getting username and system groups of logged-in user on a Linux-based operating system.
Recent

15 Jul 2020 11:21:05
Two indispensable formulas for percentages
In this article I look at two very useful mathematical formulas related to dealing with percentages efficiently. You might know them, but it is likely, you haven't not been shown at least one of them while studying the subject during your school years. I remember my own ...

14 Jul 2020 11:08:06
Recursively updating deeply nested arrays in PHP
Suppose you have a deeply nested array of items, with its members being numbers and arrays. You want to update all the numbers, like 3 and 5 for example, in all of the arrays, no matter how deep nested the numbers are in the structure. In this article I look at two methods of ...

02 Mar 2020 02:10:42
Finding Minimum Spanning Tree with Prim's Algorithm and PHP
Minimum spanning tree (MST) is an edge subset of edge-weighed undirected graph, that connect all the vertices together with the minimum possible total edge weight. There are a few methods of finding minimum spanning tree of a graph. One such efficient method is called ...

27 Feb 2020 20:06:39
Geocoding with HERE APIs and Vue.js
Geocoding with HERE API and Vue.js Geocoding is a process of finding a geographic location of an object on the Earth's surface. The location is specified using two coordinates. One is latitude, the other longitude. Both are specified in degrees. Latitude's range is 90 ...
SWWW

SWWW is my place on the web where I write on stuff related to web development. Main focus here is on my own programs and scripts, but also websites I have developed over years or helped develop, improve or maintain. In the Web Developer Zone I take a closer look at various solutions related to web development and computer programming.
If you find any of my projects interesting, useful or would like to know more on it, do let me know. This website has a contact form. Altenatively, you can leave a comment under an article on the blog.
Need a web developer?

If you need a web developer for web development work drop me a line!
I am based in Wakefield, UK, but always happy to consider remote work opportunities.