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

Padraic Brady's Blog:
New Zend_Feed_Writer Component And Zend_Feed_Reader Enhancements (ZF 1.10)
Dec 14, 2009 @ 17:10:44

In a recent post to his blog Padraic Brady looks at some of the recent improvements in the next versions of the Zend_Writer and Zend_Feed_Reader components for the Zend Framework.

Zend_Feed has always been a thorn in my side, so I'm pretty satisfied with myself (egomaniac!) now that I am building up what I like to consider a pretty good set of components for consuming and creating feeds without needing a hastily kicked together DIY processor on top of Zend_Feed. [...] Zend_Feed_Reader was an attempt to bring more sanity to the area. It largely bypassed the issue with simple access by standardising on a getter style API.

As the component evolved, several issues of its own popped up and Padraic has done some fine tuning of the code to make things even better. The Zend_Feed_Writer component was created to make a more flexible Zend_Feed_Builder and handle some validation of the content and structure of the information to be generated. Because of the features this new component brings, the Zend_Feed_Reader was enhanced with four new updates to bring it up to par:

  • Extend support to the whole of the Atom 1.0 specification.
  • Extend the API coverage overall.
  • Implement Array style access.
  • Standardise API return types using ArrayObjects.
tagged: zendframework zendfeedwriter zendfeedreader

Link:

Padraic Brady's Blog:
Zend_Feed_Reader promoted to Zend Framework trunk (watch out for ZF 1.9!)
Jul 15, 2009 @ 16:03:46

In this new post to his blog Padraic Brady points out that the Zend Framework component he's been working on, Zend_Feed_Reader, has officially been promoted into the trunk of the Zend Framework.

Zend_Feed_Reader grew out of my need to have something that is not just capable of reading feeds, but was capable of understanding and interpreting them. If you've used Zend_Feed, you know that getting something simple like content, or a creation date, is a task that requires a bit of work. [...] So, is Zend_Feed_Reader any different? Well, I hope so. But you'll have to dig a little deeper to see it.

He gives an example of its use showing how to import a few different feeds, looping through the components and how it compares to a similar Zend_Feed object.

tagged: zendframework feed zendfeedreader

Link:


Trending Topics: