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
Vue.js Fetch API and PHP generators
21 Feb 2020 14:54:20
Article on how to make Vue.js, Fetch API and PHP work in tandem and build a utility based on all three of them.
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.
14 Feb 2020 01:51:58
Week day number falling on a month day
A brief text on how to find a day of the week which falls on a given day of the month for all months over a period of time with PHP programming language.
18 Jul 2020 00:39:07
Transforming range of variable to 0 to 1 and custom ranges
Learn how to transform variable's range to [0,1] or a custom range.
16 Feb 2020 00:43:24
Binary Search algorithm implementation in PHP
Binary search algorithm and its recursive implementation in PHP programming language.
29 Jul 2023 17:05:58
Fixing No input file specified error in CodeIgniter 4
Get rid of No input file specified error in CodeIgniter 4.
24 May 2024 11:51:01
There is no data to update error in CodeIgniter 4
Finding a solution to There is no data to update error in CodeIgniter 4.
Recent
01 Jan 2017 15:27:35
Updating WordPress database URLs - part 1
Update URLs in WordPress database. A word of caution Make sure you don't introduce changes on a live website and that you keep the original backup file till you're sure that new setup works as required. Before you run the script given belowmake sure you have user ...
29 Dec 2016 06:59:28
Find first image URL in WordPress post content
Find first image URL in the article with PHP. function find_first_image_src($post) { $matches = array(); preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); return count($matches[1]) > 0 ? ...
21 Dec 2016 11:07:56
Genericons unicode values
A list of Genericons and their codes to be used in your CSS files. Here is how you use Genericons: .social-navigation a[href*="dropbox.com"]:before { font-family:"Genericons"; content: "\f225"; } Extracting genericons names and ...
10 Dec 2016 13:10:14
Sorting objects by their property in PHP
Sorting objects by their property.. Prepare some sample objects: $to_be_sorted = array(); $chars = 'abcdefg'; for($i = 0;$i< 3;$i++ ){ $random_number = rand(1,99); $to_be_sorted[] = (object) [ 'num' => $random_number, 'str' => ...
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.
