Calculate Age From Date of Birth in MySQL

July 14, 2013 by

If you have ever needed to calculate the age of someone based on their date of birth, then you might have been left puzzled at first. Many people seem to over complicate things, so in this article, a simple function is provided to convert dates to ages.

HTML5 Video Element

July 10, 2013 by

Never has playing video in browsers been so easy. Due to HTML5, it can even be done in a standardized way without requiring third party software to be installed. This article gives an overview of the HTML5 video element along with its JavaScript API.

Solving Concurrent Request Blocking in PHP

June 3, 2013 by

Making multiple concurrent AJAX requests to a PHP script, for example, may have left you wondering why the requests are not executed in parallel as expected. Rather, the requests are blocking each other. Chances are that this is caused by using sessions within the PHP script.

Solving XPath Case Sensitivity with PHP

April 27, 2013 by

Performing case insensitive searches for things such as attribute values can be quite a pain with XPath. There is a well known workaround available, but it is not so pretty and clean like one would hope for. PHP developers are also limited by the fact that PHP does not implement XPath 2.0. This article shows an additional approach that helps keep XPath queries simpler.

Easily Start and Stop Development Tools in OS X

March 28, 2013 by

It can quickly become repetitive to start and stop all of your development tools; many people do not want to have a web server or database running all of the time, for instance. This article shows you an easy way of simplifying this, so you can run a single command from the Terminal to start or stop your development tools.