Currently browsing Blog

Our blog deals with page speed optimization, page loading, web performance, WordPress tutorials, PHP code wrangling, JavaScript tutorials and code snippets. Our web insights series allow designers and developers to discover the latest and most significant stories on the web, while sipping a hot coffee.

Friday, September 15, 2017

JavaScript String Multiline Trim/Cleanup

This small JavaScript prototypes enhance the trim() function and allow for better trimming and/or replacing line breaks with commas (or…

Friday, September 15, 2017

AJAX Request Using Vanilla JavaScript

This is how you create an AJAX request with optional GET parameters in JavaScript. Note that you need to be…

Thursday, September 14, 2017

JavaScript/jQuery Credit Card Validation

This is a collection of JavaScript/jQuery snippets to validate credit card details without requiring any library. Feel free to customise…

Thursday, September 14, 2017

JavaScript Form Validation

This JavaScript code snippet adds inline validation to any form field (input, select and textarea). Feel free to customise it…

Saturday, May 15, 2021

Plugin Spam, Plugin Adoption, Plugin Takeover

A recent Wordfence investigation brought up the fact that one of my plugins, Finance Calculator, has been taken over by…

Tuesday, October 6, 2020

PHP/MySQL Tutorials

Our PHP/MySQL tutorials and code snippets allow you to extend the power of your site. Our step by step PHP/MySQL…

Friday, October 23, 2020

WordPress Tutorials

Our WordPress tutorials allow you to extend the power of WordPress. Our step by step WordPress tutorials are easy to…

Tuesday, October 6, 2020

jQuery

Here is a collection of random jQuery code snippets, created during various past projects. Note that they require the jQuery…

Tuesday, May 23, 2017

Ultimate .htaccess Guide

This guide was built to serve as a comprehensive resource to using .htaccess. The .htaccess file is a configuration file…

Monday, September 4, 2017

GPG/PGP Tutorial

This documentation provides the basic usage of GPG/PGP, following creation of keys, encryption/decryption, generating files, sending and receiving, uploading to…

Friday, June 10, 2022

WordPress Security X – 2022 Edition

When dealing with WordPress security, we need to start from the bottom of the stack and go up. There's usually…

Friday, October 16, 2020

Switching from Debian to Ubuntu: Beginner’s Guide

I just switched my development server from Debian to Ubuntu. I decided to use Ubuntu 16.04, nginx 1.10, PHP 7…