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
Database queries with bindings and Query Builder essentials in CodeIgniter 4
23 Jan 2022 01:25:58
Basics of fetching data from database using queries with bindings and Query Builder class in CodeIgniter 4
Popular
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
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.
07 Apr 2022 00:55:48
MongoDB mongod server fails to start after installation and solution
MongoDB server not starting after installation due to missing dependencies and how to solve this problem.
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.
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.
Recent
24 Jul 2020 18:27:44
Dissecting e-mail spamming hack based on PHP CGI
In this article, more out of curiosity than for a good reason, I look at one way of how e-mail spam gets sent by hacked PHP CGI setups. The scenario goes like this: a carefully crafted URL changes PHP configuration to enable a remote file inclusion into a script executed by a ...
24 Jul 2020 00:31:31
Using arrow functions for recursive post-order tree traversal
JavaScript arrow functions are cool addition to the language. You no longer think about a good name for your function, are allowed to skip "function" keyword, and sometimes even drop parameter's enclosing parentheses. In this article I look at whether these ...
18 Jul 2020 00:39:07
Transforming range of variable to 0 to 1 and custom ranges
One useful skill when it comes to dealing with variables is to be able to change their range. One of the most useful and desirable ranges is [0,1]. Occasionally you might need a different range like [-1,1], too. This article describes a couple of methods of scaling and descaling ...
16 Jul 2020 14:51:53
Checking trees for sameness with recursion and spaceship operator in PHP
At some point in your adventure with programming you are likely to find yourself in need of determining whether two trees are the same or not. This article describes two methods to do it. First on them relies on a recursive algorithm, the other, shorter, simpler and more ...
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.