Working From Home – the story …

Working From Home – the story of a multi-level marketing company. Amway is, or at least was, strong in the Cork area. I had a run in with them a few years ago and got suckered in for a short while. I just pity my “mentors”, they had moved into their new home several months previously but hadn’t unpacked anything because they must have spent all their time talking to new clients.

What a weekend! Spent it up in …

What a weekend! Spent it up in Mayo.. great weather on Friday driving up, rained on Saturday, rained on Sunday, great weather on Monday as we drove down. Still, had a great time.

Queen Mother dies. – Some of Martina’s cousins live in London and they were shocked to hear this news. More on Ananova

Why it always pays to read the complete thread of a discussion on a mailing list, but there’s always one who gets caught.

Coding ConventionsOr stuff I d …

Coding Conventions

Or stuff I do when programming.

This is PHP orientated but applies elsewhere too.
I like to code using classes, and the functions in those classes for the most part return true or false. If a function returns false, then an internal variable, $this->error gets the error message set by the function.

When I’m working on forms, my validation function returns true or false, but $this->error is an array indexed by form elements which allows me to define a per-element error message that my printForm() function can use.
On the same subject, I populate a single array with form elements which makes it easier to walk through those elements.