News Feed
Sections




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

Matthew Weier O'Phinney's Blog:
Creating Zend_Tool Providers
July 02, 2010 @ 08:58:22

Matthew Weier O'Phinney has put together a new post to his blog today about creating providers in Zend Framework applications (command-line tasks) using the Zend_Tool component.

During [a workshop at Symfony Live] workshop, Stefan demonstrated creating Symfony "tasks". These are classes that tie in to the Symfony command-line tooling -- basically allowing you to tie in to the CLI tool in order to create cronjobs, migration scripts, etc. Of course, Zend Framework has an analogue to Symfony tasks in the Zend_Tool component's "providers". In this post, I'll demonstrate how you can create a simple provider that will return the most recent entry from an RSS or Atom feed.

He shows how to create a sample provider - one that grabs data from two RSS feeds and outputs them - complete with code example, adding the provider someplace where Zend_Tool can find it and using the provider through the command-line "zf" tool.

0 comments voice your opinion now!
zendtool zendframework provider commandline


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: Zend Framework MVC Webinar posted

Arnold Daniels' Blog: Migrating from PHP4 to PHP5: A strategy for hosts

Zend Developer Zone: Zend_Controller_Action, Now With Parameters!

Jani Hartikainen's Blog: Another idea for using models with forms

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 6: Setting The Terminology


Community Events

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


symfony2 language laravel community interview podcast opinion release voicesoftheelephpant example php7 conference application api framework library configure series introduction performance

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