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
Make sass watch and compile scss files in the background
11 Jan 2022 00:42:58
Make sass command watch and compile scss files in the background.
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
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.
28 Jan 2022 12:34:11
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.
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.
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.
Recent
28 Jan 2022 12:34:11
Building a module for CodeIgniter 4
Once you are somewhat familiar with basics of CodeIgniter 4 and the MVC pattern it uses, it is time to move on to building modules for the framework. Modules are chunks of functionality you write once and reuse in your current and subsequent projects. Depending on your needs you ...
27 Jan 2022 12:25:32
Creating URL-safe slugs in CodeIgniter 4
Today it is very desirable to be able to create user (and search engine) friendly URLs. One big step towards achieving this is knowing how to build slugs. A slugs is a special string, which is suitable for including in an URL. For example a slug has no spaces in it. They all are ...
23 Jan 2022 01:25:58
Database queries with bindings and Query Builder essentials in CodeIgniter 4
CodeIgniter 4 offers a good range of tools for fetching data from database. There are simple queries, queries with bindings and a very good Query Builder class. I do not use simple queries, so leave them aside, and focus on the later two. A couple of (almost) self-explanatory ...
22 Jan 2022 19:08:58
Selecting items created within the current month in MySQL
Here is a quick query, which helps to find all the items added to a MySQL database table in the current month. Suppose today is January 18, 2022, and you want to get all the blog posts stored in Posts table, which were created within the last 18 days. Assuming that the table ...
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.