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
![Using arrow functions for recursive post-order tree traversal](https://swww.com.pl/media/img/post/80_head-320x126.jpg)
Using arrow functions for recursive post-order tree traversal
24 Jul 2020 00:31:31
Using JavaScript arrow functions for post-order based tree data structure traversal.
Popular
![Piping JSON object to PHP script](https://swww.com.pl/media/img/post/84_head-320x126.jpg)
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.
![Fixing No input file specified error in CodeIgniter 4](https://swww.com.pl/media/img/post/108_head-320x126.jpg)
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.
![Transforming range of variable to 0 to 1 and custom ranges](https://swww.com.pl/media/img/post/79_head-320x126.jpg)
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.
![Mapping associative array keys to variables with $$ in PHP](https://swww.com.pl/media/img/post/87_head-320x126.jpg)
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.
![MongoDB mongod server fails to start after installation and solution](https://swww.com.pl/media/img/post/102_head-320x126.jpg)
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.
![There is no data to update error in CodeIgniter 4](https://swww.com.pl/media/img/post/109_head-320x126.jpg)
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
![Setting home and siteurl dynamically in Wordpress](https://swww.com.pl/media/img/post/14_head-320x126.jpg)
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 ...
![The most used Wordpress hooks](https://swww.com.pl/media/img/post/1_head-320x126.jpg)
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 ...
![Find total of a column of numbers with BASH](https://swww.com.pl/media/img/post/2_head-320x126.jpg)
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
![S.Wojnowski - web developer](https://swww.com.pl/media/img/swww_intro_1.png)
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?
![S.Wojnowski - Hire a web developer](https://swww.com.pl/media/img/swww_intro_2.png)
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.