What code should I be looking at?
Maascamp: Browse through the Zend Framework. I don't know why more people don't recommend it as a well written large size PHP code base. It's a little exception happy but that's more of a style issue.