I’m in the process of rewriting this article with a working demo. There were some bugs and mistakes in the original one, so I have taken it down in the meantime. If you still wish to read it, however, DevMaster.net has a copy of it.