StatTraq and WordPress Permalinks

Posted by & filed under Programming.

For this and my other blog, I use WordPress with permalinks turned on. I installed an add-in called StatTraq to keep track of statistics. But, the stats page never showed which pages were being shown. It just showed that ‘Multiple Posts’ were being displayed. Honestly, I just assumed this was the way StatTraq was supposed… Read more »

Benchmarking PHP: Single versus Double Quotes

Posted by & filed under Programming.

PHP allows you to define a string using either a single quote (‘) or a double quote (“). Why? Is one better? Faster? Why should you use one over the other. In this article, I am going to benchmark both methods; both with literal strings and strings with variables included.

Benchmarking PHP functions

Posted by & filed under Programming.

Often a PHP developer will find themselves needing to know how long a function they are writing takes. Maybe a page seems to be taking too long to load, or maybe they have two different functions that perform the same task and need to see which one performs faster. This is where benchmarking comes in.

Script timing in PHP

Posted by & filed under Programming.

It you have spent time on sites that use a CMS system as a back-end, you may have noticed a line towards the bottom that tells you how long that page took to generate. While not always useful for the end user, it is very useful to you as a the developer. It gives you… Read more »

More on CSS & Web Buttons

Posted by & filed under Programming.

After a previous article, I decided I needed a way to expand web buttons to look even more like ‘normal’ computer buttons. Windows XP buttons highlight when your mouse goes over them. I knew this was possible with links, so I set out to do it with buttons as well.

CSS & Web Buttons

Posted by & filed under Programming.

Tired of the boring gray buttons on web forms? With a little CSS you can make your buttons look just how you like.

HTTP Return Codes

Posted by & filed under Programming.

HTTP return codes are 3 digit (usually) numbers that are returned to your browser when they request a page. Typically your browser will take care of these, but if you are developing your own site you should put these in your bag of knowledge.