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

Chris Hartjes' Blog:
The Story and Rebirth Of Zend_Service_Audioscrobbler, Part 1
Dec 12, 2007 @ 09:32:00

Chris Hartjes has posted the first part of a series on the "rebirth" of a component that was contributed to the Zend Framework - Zend_Service_Audioscrobbler (to interface with the Audioscrobbler service from Last.fm).

Many moons ago I set out (along with my friend Derek) to make a contribution to Zend Framework in the form of an add-on to let people easily access the Audioscrobbler web service. We worked really hard, implemented all the features of the web service at that time. Imagine our surprise when it got accepted as part of the 1.0 release of Zend Framework! Awesome! It even has it's own entry in the manual and everything.

He admits, though, that the code is not all that it could be and cites some examples as well as ways he would make it all work so much better.

tagged: audioscrobbler zendframework zendservice component audioscrobbler zendframework zendservice component

Link:

Chris Hartjes' Blog:
The Story and Rebirth Of Zend_Service_Audioscrobbler, Part 1
Dec 12, 2007 @ 09:32:00

Chris Hartjes has posted the first part of a series on the "rebirth" of a component that was contributed to the Zend Framework - Zend_Service_Audioscrobbler (to interface with the Audioscrobbler service from Last.fm).

Many moons ago I set out (along with my friend Derek) to make a contribution to Zend Framework in the form of an add-on to let people easily access the Audioscrobbler web service. We worked really hard, implemented all the features of the web service at that time. Imagine our surprise when it got accepted as part of the 1.0 release of Zend Framework! Awesome! It even has it's own entry in the manual and everything.

He admits, though, that the code is not all that it could be and cites some examples as well as ways he would make it all work so much better.

tagged: audioscrobbler zendframework zendservice component audioscrobbler zendframework zendservice component

Link:

Chris Hartjes' Blog:
Zend_Service_Audioscrobbler Update
Nov 13, 2006 @ 07: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:

Chris Hartjes' Blog:
Zend_Service_Audioscrobbler Update
Nov 13, 2006 @ 07: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: