Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Hartjes' Blog:
Zend_Service_Audioscrobbler Update
Nov 13, 2006 @ 13:49:00

In his latest blog post, Chris Hartjes gives us an update on one of the packages (components?) for the Zend Framework - the Zend_Service_Audioscrobbler.

He talks about, though his time is a bit more stretched than usual, he's managed to get some real work done on the package. He gives some code examples to show off what this new development is (complete with unit tests - go agile testing!).

That bit of code is what does all the heavy lifting for me. It uses the Zend_Service_Rest component to talk to Audioscrobbler's web services, and returns the results as a SimpleXML object. Nice and simple. A perfect example of what Zend Framework is trying to accomplish.

The second code example is the tests that he's generated to check the package for errors in grabbing the 'Top Artists' and 'Top Tracks' as grabbed by the package via the REST web service.

tagged: zend framework service audioscrobbler update unit test zend framework service audioscrobbler update unit test

Link:


Trending Topics: