so where is the example code?

in part one you show this code...

$service = new Rest_Service();
// instantiate the main functional class and pass to service
$library = new Library();
$service->setLibrary($library);
// create a response object and pass to service
$response = new Response();
$service->setResponse($response);

...yet nowhere to you show the $Rest_Service() class definition.

WHAT IS THAT CODE DOING?

what good is this article without a working source example that we can play with?

thanks, but more info would have been more helpful.

- mark