Useful bits of code for developing with SilverStripe