Archive for the ‘practical webmaster tips’ Category

A PHP secret to understanding Data Mapper Pattern in Fowler’s Patterns of Enterprise Application Architecture (PoEAA)

Tuesday, February 9th, 2010

Here’s a snippet of a Java code example in Fowler’s esteemed  book, Patterns of Enterprise Application Architecture …

How to Unit-Test for Expected Exception Thrown in Simpletest - *The* Answer

Saturday, January 16th, 2010

I keep forgetting how to assert that an Exception is going to be thrown in Simpletest version …

Prioritising URL Normalization Steps for Search Engine Optimisation of a Legacy Site

Friday, January 15th, 2010

I have skimmed through a paper on normalization techniques (by Sang Ho Lee, Sung Jin Kim, and …

PHP - Getting __sleep to return all properties of an object

Monday, January 11th, 2010

If you write a custom __sleep() magic method for a PHP class, you are expected …

How To View Page Source without Reposting in Firefox

Wednesday, November 4th, 2009

So,

How to fix WHM /Cpanel Apache Log Bug - Crashes Intermittently- for Linux newbies

Tuesday, September 8th, 2009

I’m more of a PHP editor than a ’system admin’. I use a PC and am NOT …

Specifying Extra File Types That Dreamweaver Should Search

Sunday, July 26th, 2009

Making  .ini’s and .htaccess files searchable by Dreamweaver (DW) and generally configuring it to work nicely with …

Dreamweaver search and ‘Find and Replaces’ overlooks .htaccess filetypes

Sunday, July 26th, 2009

If you are adamant that a phrase is in one of your .htaccess files, yet Dreamweaver is …

Where to start? - Beginner Level to Expert PHP Website Developer

Friday, May 15th, 2009

This is a message to my previous self (like how Rimmer went back to tell …

principles of modular website architecture design

Tuesday, March 31st, 2009

This is a collection of links to articles that may be of interest to those who are …