News Feed
Sections




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

Zend Developer Zone:
Zend Framework, JSON, and Del.icio.us
September 18, 2006 @ 14:02:20

In a new tutorial from jJason Whittenburg today on the Zend Developer Zone, he demonstrates how to use the Zend Framework and a little JSON to get your application talking to Del.icio.us.

Del.icio.us is a social linking site to store web links. Some one afternoon while messing around Zend Framework I had the idea that it might be nice to add my Del.icio.us links to my homepage. This sounds easy enough as Del.icio.us makes available an RSS feed for this purpose. However, there is one problem; Zend_Feed does not seem to be able to parse this particular RSS feed.

The reason is that Del.icio.us makes use of some extended namespaces for its RSS feed. Normally this would not be a problem as we could simply write a new class to extend Zend_Feed to read this file. However, this is a quicker and simpler way. Enter JSON.

Since there's no direct JSON support in the Zend_Feed component, they have to load up the Zend_Json component to help out. He shows how to create both the controller and the view for the setup as well as a database to help cache the data from each request.

0 comments voice your opinion now!
zend framework json connection delicious link database cache zend framework json connection delicious link database cache


blog comments powered by Disqus

Similar Posts

Cesarodas.com: gCache: Helping PHP to work faster

NetTuts.com: The Best Way to Learn PHP

Stephan Hochdörfer: Silex running on HHVM

Chad Minick: PHP frameworks are obsolete

Zend Developer Zone: Getting Started with Zend Server CE


Community Events





Don't see your event here?
Let us know!


community list code framework interview developer laravel unittest install testing refactor opinion language podcast release symfony2 threedevsandamaybe introduction series configure

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework