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

IBM developerWorks:
Understanding the Zend Framework,Part 4: When there is no feed, Zend_HTTP_Client
Aug 01, 2006 @ 10:45:56

The IBM developerWorks site has posted part four of their series looking at the Zend Framework. This latest article focuses on the Zend_HTTP_Client package.

Part 3 explains how to use the Zend Framework to construct our online feed reader, Chomp, by creating an interface to subscribe to and read feeds, and to save feed entries into the database. Now you will learn how to use the Zend Framework to incorporate Web sites that do not support RSS feeds into the online feed-reader interface.

They work their way through an example of pulling in content from a remote site (one that's feedless). This is an enhancement to the "Chomp" application they've been developing all along, so if you need to catch up, here's the previous parts - Part 1, Part 2, Part 3.

They update the indexController, deleteEntryAction, and the saveEntryAction methods to handle this new incoming data and make the needed changes to the views to handle the new output. Finally, they demonstrate how to save the entries pulled in through the Zend_HTTP_Client component.

tagged: zend framework zend_http_client component pull data tutorial part4 zend framework zend_http_client component pull data tutorial part4

Link:


Trending Topics: