Analysis and Effects of HTTP Requests on WordPress Performance

Analysis and Effects of HTTP Requests on WordPress Performance

Hi everyone. i wrote a tutorial at Tuts+ on the effect of HTTP request on the performance of WordPress and website in general.In the article, i explained the meaning of HTTP request, how to count the number of HTTP Request, it effect on WordPress performance and finally, how to reduce the number of request.Read the full article => Analysis and Effects of HTTP Requests on WordPress Performance. … [Continue reading]

Contact-form Gone Awry Because of Poor HTML Attribute Naming

HTML form gone awry in WordPress

Few days ago, I was building a simple contact form WordPress plugin for a project I was working. I added shortcode support to the plugin so the contact form can be included in posts and pages.The contact form consist of the following form fields - name, email, phone number, mail subject and message with respective name attributes as follows: name, email, phonenumber, subject, message.[php]echo '<form action="' . … [Continue reading]

Get the Original URL behind a Shortened link using PHP

HTTP Request Header of a shortened link

I know a lot of us and our dogs know what shortened links are. If you don't know - they are long URLs which get shortened for convenient link sharing. Example of link-shortening service includes bit.ly, su.pr, tiny.cc, goo.gl etc.In this article, I'm going to show us how to programmatically retrieve the original long URL that got shortened via PHP. Let's examine the headers sent by the server in response to the HTTP request sent by … [Continue reading]

WordPress Meta Box the OOP Way

WordPresss Meta Box

WordPress has a reputation for being bloated, filled with spaghetti codes and not developer friendly because it is a pain in the ass to extend. The reason for the WordPress hate is partly because it is procedurally written which result in an ugly codebase thus making developers cringe.In recent time, WordPress is gradually adopting the Object-oriented programming paradigm albeit at a slow pace.If you have created WordPress Meta Boxes in … [Continue reading]

How to Integrate postgreSQL Database to XAMPP in Windows

postgreSQL Database

Over the weekend, I decided to learn postgreSQL Database. For me to be able to achieve it, I need to as a matter of fact install and get it running on my local machine. Since I'm using XAMPP already as my LAMP stack, it will be easier to just integrate postgreSQL into it rather than compiling it with PHP from scratch.In this article, I will show us how I was able to install and integrate postgreSQL to XAMPP as well as pgAdmin and phpPgadmin … [Continue reading]

Top 5 Free Outlook Viewers

Outlook PST Viewer

MS Outlook keeps emails on user's hard drive in PST files. This format contains email information coded in such a way that it can't be read outside of its native mail client. You can view their content only using special PST viewers that will decode your PST email storage and show the texts of messages. There are a few important features that a PST mail viewer should have:Clean user interface Easy navigation through emails Ability to … [Continue reading]

Building Image Scraper using Symfony’s DomCrawler

PHP tutorial

This is an article i wrote for sitepoint.com. Below is an excerpt form and link to the full article. You will definitely love it. A photographer friend of mine implored me to find and download images of picture frames from the internet. I eventually landed on a web page that had a number of them available for free but there was a problem: a link to download all the images together wasn’t present.I didn’t want to go through the stress of … [Continue reading]