I second buurmas, python is far easier to work with with all the API's. I program a lot on PHP as well on the web, but I am trying my hands on Python for the N900, just wrote a small script to block calls