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
Watermarking images with ImageMagick and BASH
30 Oct 2017 21:11:08
Article on and a BASH script with examples of use for watermarking JPEG and PNG images with ImageMagick.
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.
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.
29 Jun 2018 19:38:09
Symmetric and asymmetric - key encryption with gpg and gpg-zip
Encrypting files and directories of files with public key and ciphers using GnuPG and gpg-zip.
27 Jan 2022 12:25:32
Creating URL-safe slugs in CodeIgniter 4
Build URL-secure slugs using URL and Text helper functions in CodeIgniter4
23 Jan 2022 01:25:58
Database queries with bindings and Query Builder essentials in CodeIgniter 4
Basics of fetching data from database using queries with bindings and Query Builder class in CodeIgniter 4
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.
Recent
10 Dec 2016 09:44:06
Setting home and siteurl dynamically in Wordpress
Use wp_config.php or functions.php to set home and siteurl dynamically. Hard-coded constants In wp-config.php.: define('WP_SITEURL', 'http://<your.domain.here>/'); define('WP_HOME', 'http://<your.domain.here>/'); If these ...
28 Nov 2016 20:53:05
The most used Wordpress hooks
Some frequently used WordPress (4.6.1) hooks below. WordPress hooks array Hooks are stored in wp_filter array and can be accessed through $GLOBALS['wp_filter']. The list of the most used Wordpress hooks and callbacks attached to ...
28 Nov 2016 20:53:05
Find total of a column of numbers with BASH
Problem: Find total of numbers in a file. File 1: aaa:23 bb:2 ccc:98 . . . File 2: 23,aaa 2,bb 98,ccc . . . File 3: aaa,23,aaa ccc,2,bb bb,98,ccc . . . Function to find the total #!/usr/bin/env bash function sum_it_up(){ file="${1}" ...
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.
