Extreme programming does not work too well with "tradititional languages".
It works well with the lisp/scheme/python and maybe ruby family
The reason is that in lisp/python (i am not sure about ruby)
you have a console which you can enter language definitions ie: define function etc at runtime
where comes the power of this.
a good example is where you have a large database csv data that has to be parsed.
to load the data because it is so large lets say takes 10 minutes.
so in ur handy console you create a function to load the data into some sort of data structure.
u then from console in lisp compile the function (into actual machine instructions, in pythons case it goes to byte-code).
you then load ur data.
next u create a function to do queries against it.
in the traditional language, you would have to recompile, reload data, losing 10 minutes.
in lisp/python you just compile the function,
and then run it, if it has a bug, in lisp you can walk its stack, and abort, get back to console and fix.
in C/C++/php etc u would have to recompile the entire proggie and restart. (hence losing the 10 minutes)
in the case of OO in lisp's case, (and probably python) you could include into the class a version stamp in the class.
you create an object
then u decide to change the class definition of the object.
you can then create an "update" function that walks the objects created.
it will then update at runtime ur already created objects.
this is not only very powerful for testing new ideas quickly, but also for other things.
like lets say you where serializing the objects, and saving them, to reload later.
well as u reload the object off the disk, if it is an earlier version, it will automatically update them.
this is extremely powerful for things like object databases.
http://www.zope.org/Documentation/Articles/ZODB1all of the complexity of a traditional database is gone.
anyway in a nutshell if u are using php it probably is a waste of time.