Pages

Categories

Compiling Objective-C without XCode in OS X

Ok, so I’m about to blog about something which may seem blindingly obvious to OS X developers, but to be fair I didn’t find much on Google myself.
I’m new to Objective-C and programming for OS X in general, but I get frustrated when all articles, books and tutorials narrow themselves down to just one IDE […]

June 27th, 2008 | Objective-C | No Comments »

Enumerations and jMock… ouch! But here’s how.

I may write an article on jMock eventually but right now I’m just dropping by to throw this home-brewed code onto the web to help out a few Java developers who have hit hurdles using jMock and returning Enumeration instances from a stub/mock method.
jMock provides only 3 different actions for returning values by default. […]

September 15th, 2007 | Java | 2 Comments »

A simple Filter Chain example in PHP 5

Filter chains can be really useful when you want to pass an object (or several objects) through a series of tests in a scalable fashion. An example may be performing some request validation/filtering before your application starts to do anything too specific with it.
The idea behind a filter chain is that you create a […]

August 19th, 2007 | PHP | 5 Comments »

First signs of namespaces in PHP 6

Every so often I grab the latest PHP 6 snapshot from snaps.php.net just to see what’s been going on in the development of it. Today I downloaded a snapshot as usual and was pleased to see they’ve already started to include support for namespacing.
Unicode improvements aside, namespacing is something I’ve longed for in PHP […]

August 17th, 2007 | PHP | 5 Comments »