Hi,
If you get the latest update to RC1 posted this morning you should find the browse example I'm talking about in the same location that you found the query example, failing that if you'd like to email me I'll can send the example through to you.
As well as the browse example you will see that I have started to put together a few library classes that will form the basis for the Alfresoc PHP library. They are far from finished, but they should give you an idea of what we intend to do, any feed back will be welcome.
As far as querying goes, have a look in browse.php for a simple example. You also find some more detailed help in the Wiki.
Thanks,
Roy