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
Turning OOP class to graph for better code composition and understanding
28 Jul 2020 00:28:15
Article on perceiving OOP classes and objects based on them as graphs and advantages this approach yields.
Popular
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.
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.
20 May 2021 17:49:23
Mapping associative array keys to variables with $$ in PHP
A neat trick to reduce amount of code needed to access data stored in PHP associative array.
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
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.
Recent
07 Jul 2017 22:48:43
Converting tree to correct HTML list in PHP
From time to time, when doing coding for the web or otherwise, you might come across a tree of data to be turned into a correct HTML list (what "correct" means in this context will be explained in a minute). In order to meet the requirement, you have to be able to ...
03 Jul 2017 13:58:12
Traversing trees in pre-order recursively in PHP
Code for traversing trees in pre-order in PHP Depth-first pre-order tree traversal Suppose, there is a tree like this: a / \ b c / \ \ d e f Traversing it in pre-order from left to right will result in visiting all the ...
29 May 2017 13:23:02
Extending WordPress custom menus
Suppose you have built a custom menu using WordPress GUI for your website. The menu contains a subset of links to posts and pages that your website has to offer. For example, it might not, and in fact it shouldn't, contain a link to a confirmation page, user gets redirected ...
25 May 2017 13:30:48
Non-destructive array extending in PHP
Insert an item into an array without overwriting another item. /* ArrayInsert::itemAt Description: non-destructive extending of PHP number-indexed array Author: Sylwester Wojnowski WWW: wojnowski.net.pl paremeters: $arr - number-indexed Array $k - index to ...
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.