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

Zend: Webinar Wednesday - PHP Security

Richard Thomas' Blog: Solar Framework Shorts - Multitenant caching

JSLabs Blog: How to survive the digg effect

PHPMaster.com: Living Apart Together: Decoupling Code and Framework

Brian Swan's Blog: Getting Started with the SQL Server Driver for PHP


Community Events





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


podcast version mvc community symfony library language update opinion composer framework laravel introduction package voicesoftheelephpant interview series tool security release

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