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

Installing WordPress language files automatically
20 May 2017 22:03:03
Installing language files (.mo) automatically in WordPress.
Popular

11 Jan 2022 00:42:58
Make sass watch and compile scss files in the background
Make sass command watch and compile scss files in the background.

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

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.

28 Jan 2022 12:34:11

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.

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

05 Mar 2017 16:33:19
Substituting file contents in place with BASH and sed
Here is how to substitute file contents in place with sed or BASH Substituting in place with sed # Usage : sed_sub_in_place search replace file # ^[\].*$ escaped in search (Basic Regular Expressions) # / and & escaped in replace ( escape BRE special characters: ^[\].*$ ...

18 Feb 2017 15:10:51
installing PHPUnit
Install PHPUnit with a BASH script. PHPUnit installing and executing script The script below, called install_phpunit.sh, can be run with no arguments, in such circumstances it installs current stable release of PHPUnit. It checks for root privileges before it begins ...

12 Feb 2017 14:48:27
Arrays in BASH
BASH array operations and syntax Suppose you have four strings: a b c d, and you want to place them all in array, here is how you could achieve this: arr=(a b c d) To take a look at what is in your array you use declare built-in: declare -p arr If you need to get all the ...

30 Jan 2017 17:08:29
BASH recursion examples - part 2
Asking for permission to carry on Here is the first example of recursive function. Imagine your script needs to ask for permission to proceed to the next stage of some automation process. Perhaps, that next stage consists of deletion of some important directories and ...
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.