April 12, 2008

Dont repeat yourself

Don’t Repeat Yourself (DRY, also known as Single Point of Truth) is a process philosophy aimed at reducing duplication, particularly in computing. The philosophy emphasizes that information should not be duplicated, because duplication increases the difficulty of change, may decrease clarity, and leads to opportunities for inconsistency.

March 20, 2008

WordPress 2.5 coming soon

Yay there is finally a major update to WordPress. I have been very happy with the way the WordPress has developed their product to be as stable as it is and as easy-to-use as it is, but I know they can do better. This is what I’m hoping from WordPress 2.5.
Following are some screenshots from the pending release:
Read the rest of this entry »

January 8, 2008

Ajax chat for PHP

One of my recent projects needed to have a chat facility built in that works between staff and clients. I wanted to build an Ajax chat system and thought rather than re-inventing the wheel, I would look for someone else’s solution to an Ajax based chat system. I came across this website by Cristian Darie. I had read through some of Cristian’s scripts and articles in the past so I knew that he wrote quality code and made quality systems. His book about PHP and SEO is well worth a read.

I found lots of other examples of Ajax based chat but most of them were dirty, buggy, and smelly. So I heavily modified Cristian’s code to suit my needs and used it in the project. Thanks Cristian!

January 6, 2008

WHOIS lookups with PHP

I wanted to add WHOIS lookup capability to a recent project I was working on. I had never had a reason to implement a WHOIS lookup system before so I went in search of a simple system to lookup WHOIS records and then I would simply display the raw data.

I came across quite a few suggestions of scripts to do this, but I wanted to find something clean and logical. I ended up with the following code after modifying an existing script to suit my needs:
Read the rest of this entry »