Dr. Dobb's Journal - January 2008 - (Page 56) Welcome to the Flickr News Network. // On FNN, we mash-up a newsfeeds with Flickr to bring you pictures from Flickr // that may or may not be relevant depending on how good a job people do tagging them. Requests Active: 0 Proxies Are All the Same The three Proxy classes we use in this project behave the same. For this reason, we won’t go over them each in detail, but we do want to highlight one significant difference. The Keywords.php proxy uses the Zend_Client_Rest class to talk to Yahoo’s Content Analyzer. The Yahoo Content Analyzer is different in that while we still use a Representational State Transfer (REST) API to talk to it, we use an HTTP POST instead of a GET. The reason is that the description of the article could potentially be longer than the browser can send via a GET. This is why, when preparing the call to the Proxy factory, we use the $_REQUEST array instead of either $_GET or $_POST. With Keywords and Photos, you need to register with the services and get the proper API keys to gain access. Most news feeds do not require you to register first. Using pieces of the Zend Framework simplified the programming. Also, by 56 Dr. Dobb’s Journal l www.ddj.com l January 2008 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd http://www.ddj.com
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.