Is the test wrong – Is there a simpler test

Every so often when following TDD we struggle to make a test go green or we struggle to make a test go green in way that feels right. When this happens it can mean there is a problem with the
Posted in Test Driven Development

TDD – Small Leaps Of Amazingness

Test Driven Development is all about small verifiable steps. You write a little test, you write a little code, you get a nice green bar, you reshape the code, and that bar stays green. There are plenty of things that
Posted in Test Driven Development

There’s a Kata For That

I was recently thinking about how Programming Katas can help improve ones Craftsmanship. One of the big ideas behind Craftsmanship is Practice, or more precisely Deliberate Practice. According to the 10,000 hours theory you require 10,000 hours of Deliberate Practice
Posted in Software Craftsmanship

Where is the Controversy in Software Craftsmanship?

I recently gave a talk about Professionalism and Craftsmanship in the Software Industry to a group of my work colleagues. I thought I was well prepared, I had been very careful to read around the areas that I felt were
Posted in Software Craftsmanship

Keeping My Software on Track

It's a cold and rainy weekend, and I need something to do, so I open up my laptop and procrastinate for a while. That is to say, I avoid being productive in the fear that being productive might be boring.
Posted in Mockito-Collections

Getting started with JForm

JForm is one of the most exciting new features to be introduced as part of Joomla! 1.6. The intention is to provide XML configurable forms complete with custom field types and form validation. I cannot stress enough just how much
Posted in Joomla!

UTF-8 in Joomla!

Have you ever browsed to a website only to find that half the content is unreadable? Or that certain characters are being displayed in strange and mysterious ways? Or perhaps you wanted to enter a foreign or unusual character but
Posted in Joomla!

Working with dates in Joomla!

In this article we explain how best to handle date and time values in Joomla! extensions. We investigate the following: How to store values in the Joomla! MySQL database Ways to format dates How to deal with time zones Date
Posted in Joomla!

Keeping Joomla! 1.5 Extensions Secure

The following is a recipe extract from Joomla! 1.5 Development Cookbook. This recipe is taken from the second chapter in the book, Keeping Extensions Secure. Writing SQL safe queries SQL injection is probably the most high profile of all malicious
Posted in Joomla!

Joomla! Code Swarm

Joomla! is a modular and extensible open source Content Management System. Joomla! was created in 2005 and is a fork of the Mambo CMS. Joomla! has fast become one of the most popular open source CMS's, as is proved by
Posted in Joomla!