Breaking this into 2 parts so it's not too much at once..
Part 1:
Thor, at some stage you may start to get many endpoints:
http://petfinder.com/dogs
http://petfinder.com/cats
http://petfinder.com/cats/siamese
http://petfinder.com/dogs/pugs
http://petfinder.com/about
http://petfinder.com/faq
etc etc
What you're probably going to want to be using is some form of structured 'router'
A really simple one that could help you is : https://github.com/klein/klein.php
I haven't used it before but I took a quick look over it and it seems to be pretty cool and I think will help you a lot.
It's not tied to a framework so it shouldn't bog you down but it does look to have some nice functionality.
Part 1:
Thor, at some stage you may start to get many endpoints:
http://petfinder.com/dogs
http://petfinder.com/cats
http://petfinder.com/cats/siamese
http://petfinder.com/dogs/pugs
http://petfinder.com/about
http://petfinder.com/faq
etc etc
What you're probably going to want to be using is some form of structured 'router'
A really simple one that could help you is : https://github.com/klein/klein.php
I haven't used it before but I took a quick look over it and it seems to be pretty cool and I think will help you a lot.
It's not tied to a framework so it shouldn't bog you down but it does look to have some nice functionality.